# goal_auto_accept_prompt_marker_path

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/onboarding/goal_auto_accept_prompt_marker_path)

Return the goal criteria preference prompt marker path.

## Signature

```python
goal_auto_accept_prompt_marker_path(
    state_dir: Path | None = None,
) -> Path
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `state_dir` | `Path \| None` | No | Optional state directory override for tests. (default: `None`) |

## Returns

`Path`

Path to the versioned one-time prompt marker.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/onboarding.py#L78)