Skip to content

Mirror agent_artifact in CreateSessionParams#174

Closed
abonneth wants to merge 1 commit into
mainfrom
fable/create-params-agent-artifact
Closed

Mirror agent_artifact in CreateSessionParams#174
abonneth wants to merge 1 commit into
mainfrom
fable/create-params-agent-artifact

Conversation

@abonneth

@abonneth abonneth commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Made with Cursor


Note

Low Risk
Typing-only mirror of an existing API field; no runtime logic changes.

Overview
Adds agent_artifact to the CreateSessionParams TypedDict so it matches SessionRequest and the generated create_session API.

Callers can pass agent_artifact into run_session / async_run_session with correct typing and IDE autocomplete; kwargs still flow through to create_session unchanged.

Reviewed by Cursor Bugbot for commit e1f0fd1. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-authored-by: Cursor <cursoragent@cursor.com>
@abonneth abonneth requested a review from adeprezh as a code owner July 1, 2026 23:32
@abonneth

abonneth commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

agent_artifact is an internal deployment pin and shouldn't be in the public surface at all; it will be stripped from the public OpenAPI schema in agent_platform instead, and the next SDK regen will drop it from the generated client.

@abonneth abonneth closed this Jul 2, 2026
@abonneth abonneth deleted the fable/create-params-agent-artifact branch July 2, 2026 09:56
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