Skip to content

Commit dc2ce96

Browse files
authored
feat: from OpenAI use only gpt5 (#211)
- make gpt-5 the default for OpenAI models - remove all other models from OpenAI as they are deprecated ~~I wasn't able to test this so far because the (apparently) [organization requires verification](https://help.openai.com/en/articles/10910291-api-organization-verification)?~~ I tested the following things - [x] schedule with gpt-5 - [x] chat with gpt-5 - [x] schedule with gpt-4 (it fails with model not found) - [x] Tested the new migration to update schedule's model to gpt-5 - [x] schedule upgraded from gpt-4 to gpt-5 (it works now) Pending - [ ] Test LiteLLM integration - [ ] Test judge/eval code <img width="3400" height="1750" alt="image" src="https://github.com/user-attachments/assets/04d1fe95-2403-4aea-83fe-2f33707fec29" />
1 parent a7cbb6c commit dc2ce96

File tree

8 files changed

+4032
-2763
lines changed

8 files changed

+4032
-2763
lines changed

apps/dbagent/.env.eval.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ ANTHROPIC_API_KEY=
1717
GOOGLE_GENERATIVE_AI_API_KEY=
1818

1919
# Eval variables
20-
JUDGE_MODEL="openai:gpt-4o"
20+
JUDGE_MODEL="openai:gpt-5"
2121
CHAT_MODEL="anthropic:claude-3-5-haiku"
2222
EVAL_FOLDER="/my/folder"

apps/dbagent/dev/litellm/etc/config.yaml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
model_list:
2-
- model_name: GPT-4o
2+
- model_name: GPT-5
33
litellm_params:
4-
model: openai/gpt-4o
4+
model: openai/gpt-5
55
model_info:
66
xata_agent:
77
group_fallback: openai
88
alias:
9-
- title
10-
- summary
11-
- model_name: GPT-4 Turbo
12-
litellm_params:
13-
model: openai/gpt-4-turbo
14-
- model_name: GPT-4.1
9+
- chat
10+
- model_name: GPT-5 Turbo
1511
litellm_params:
16-
model: openai/gpt-4.1
17-
- model_name: GPT-4.1 Mini
12+
model: openai/gpt-5-turbo
13+
model_info:
14+
xata_agent:
15+
group_fallback: openai
16+
- model_name: GPT-5 Mini
1817
litellm_params:
19-
model: openai/gpt-4.1-mini
18+
model: openai/gpt-5-mini
19+
model_info:
20+
xata_agent:
21+
group_fallback: openai
22+
alias:
23+
- title
24+
- summary
2025

2126
- model_name: DeepSeek Chat
2227
litellm_params:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
UPDATE "schedules"
2+
SET "model" = 'openai:gpt-5'
3+
WHERE "model" LIKE 'openai%';

0 commit comments

Comments
 (0)