feat(agents): add GPT-4.1 models and expandable collections

- Add GPT-4.1 and GPT-4.1-mini to OpenAI provider models
- Set gpt-4.1-mini as default model for new agents
- Make collections in chat tools panel expandable/clickable
- Fix type error in ChatToolsPanel
This commit is contained in:
Ajax Davis 2026-01-17 04:18:56 +10:00
parent 5014822b67
commit 301d08303e
3 changed files with 142 additions and 16 deletions

View file

@ -237,6 +237,8 @@ export const CONVERSATION_LIMITS = {
export const PROVIDER_MODELS = {
OPENAI: [
{ id: 'gpt-4.1-mini', name: 'GPT-4.1 Mini', contextWindow: 1000000 },
{ id: 'gpt-4.1', name: 'GPT-4.1', contextWindow: 1000000 },
{ id: 'gpt-4o', name: 'GPT-4o', contextWindow: 128000 },
{ id: 'gpt-4o-mini', name: 'GPT-4o Mini', contextWindow: 128000 },
{ id: 'gpt-4-turbo', name: 'GPT-4 Turbo', contextWindow: 128000 },