Skip to content

docs(1.x): Send files to Responses API models, and drop tokenExchange - #648

Merged
Rachael-Graham merged 4 commits into
mainfrom
pr-tracker-draft-kagent-3200
Oct 27, 2026
Merged

Rachael-Graham merged 4 commits into
mainfrom
pr-tracker-draft-kagent-3200

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Documents how the kagent runtime sends PDF and Office files to OpenAI Responses API models, from kagent-dev/kagent#3200 (first shipped in v1.0.0-alpha16), and corrects stale tokenExchange claims.

Send a file to the model: OpenAI gains the section that Azure OpenAI already had. The shared table and link rules move into assets/kagent-docs/snippets/setup/responses-api-files.md, and both pages reuse it. The 50 MB cap now applies to inline PDF and Office files only, and inline images are named as the one case without a File: text part. Checked against v1.0.0-alpha17 source.

tokenExchange: v1alpha3 removed the field, so the API server rejects it before kagent sees it. The OpenAI warning becomes one sentence, and the about-model-providers rejection table loses its row.

Upgrade from 0.x: the carry-forward section claimed that v1alpha3 keeps every v1alpha2 field except apiKeyPassthrough. It now lists the four removed ModelConfig fields, and the conversion step says to delete them before applying.

Worth a close look: the upgrade-page field list, derived by diffing the 0.10.4 and alpha17 API types.

Also: reverts a duplicate sentence on examples/a2a-agents.md.

Reviewers: check the OpenAI and Azure pages render the shared table.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview aaa58c9 only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

Signed-off-by: Rachael Graham <[email protected]>
@Rachael-Graham Rachael-Graham changed the title [Automated] Draft docs (kagent): feat: Send PDF and Office files to Responses API models end-to-end docs(1.x): Send files to Responses API models, and drop tokenExchange Oct 27, 2026
Signed-off-by: Rachael Graham <[email protected]>
@Rachael-Graham
Rachael-Graham merged commit 5c2187c into main Oct 27, 2026
3 checks passed
@Rachael-Graham
Rachael-Graham deleted the pr-tracker-draft-kagent-3200 branch October 27, 2026 14:16
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.

2 participants