Skip to content

docs(sdk): add conversation model switching example#388

Merged
enyst merged 3 commits intomainfrom
docs/model-switching-in-convo-example
Mar 10, 2026
Merged

docs(sdk): add conversation model switching example#388
enyst merged 3 commits intomainfrom
docs/model-switching-in-convo-example

Conversation

@enyst
Copy link
Collaborator

@enyst enyst commented Mar 10, 2026

  • I have read and reviewed the documentation changes to the best of my ability.
  • If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

Summary of changes

  • document examples/01_standalone_sdk/44_model_switching_in_convo.py under the existing LLM Profile Store guide
  • add an auto-synced expandable code block and run snippet for the mid-conversation switch_profile() flow
  • keep this PR scoped to the missing example 44 docs; the lifecycle example docs remain tracked separately in docs(sdk): sync plugin and skill lifecycle examples #386

Related SDK example: OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/44_model_switching_in_convo.py

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Good taste - Accurate, well-structured documentation.

Verified against agent-sdk source: example file exists, code matches exactly, all imports and methods are correct. Follows established patterns. This is solid work.

@enyst enyst merged commit 94e5031 into main Mar 10, 2026
5 checks passed
@enyst enyst deleted the docs/model-switching-in-convo-example branch March 10, 2026 10:45
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.

3 participants