-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
When building with the Agents SDK, developers must hardcode model selection in their Agent implementation (e.g., model: openai("gpt-4o-2024-11-20")). There's currently no straightforward way for users to select different models through the frontend UI and have that selection automatically synchronized with the backend.
Would it be possible to update the agents starter template to include a working model switcher component in the frontend? This would ideally demonstrate:
- A simple UI dropdown/selector for models
- A mechanism for communicating the selected model to the backend in real-time
- Backend code that respects and uses the frontend's model selection without requiring restart
- Elegantly handle cases for models without tool support
Such an example would significantly improve developer experience of this starter by showing how to implement this common feature without complex custom code to manage the frontend-backend synchronization.
Metadata
Metadata
Assignees
Labels
No labels