Description
The model is currently hardcoded as gemini-3.1-pro-preview in agent.js. The dropdown in the UI toolbar is a visual placeholder and does not actually switch models.
Tasks
- Link the toolbar model dropdown to AgentManager.model.
- Ensure the selected model persists in localStorage.
- Dynamically fetch/list available models based on the selected API provider.
Description
The model is currently hardcoded as gemini-3.1-pro-preview in agent.js. The dropdown in the UI toolbar is a visual placeholder and does not actually switch models.
Tasks