Skip to content

fix: correct agent mode section in thread docs#337

Merged
sethjuarez merged 1 commit into
mainfrom
fix/thread-docs-agent-mode
Apr 11, 2026
Merged

fix: correct agent mode section in thread docs#337
sethjuarez merged 1 commit into
mainfrom
fix/thread-docs-agent-mode

Conversation

@sethjuarez

Copy link
Copy Markdown
Member

The conversation-history doc incorrectly stated \�piType: agent\ — that doesn't exist. Agent mode is activated by calling \ urn()\ at runtime; the .prompty\ file uses \�piType: chat\ with tools declared. Updated the section with correct YAML and added Python/TypeScript \ urn()\ examples showing threads + agent loop together.

… agent

Agent behavior is activated by calling turn() at runtime, not by setting
apiType: agent. The .prompty file uses apiType: chat with tools declared.
Added multi-language turn() examples showing threads + agent loop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sethjuarez
sethjuarez merged commit 7ad8ab1 into main Apr 11, 2026
9 checks passed
@sethjuarez
sethjuarez deleted the fix/thread-docs-agent-mode branch June 9, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant