42435e8f76
- Refactor useUpdateAgent to return both updateAgent and updateModel functions - Update all components using useUpdateAgent to use the new hook structure - Improve model selection by reusing SelectAgentModelButton component - Add pagination support to useApiModels hook