set default model to gpt-4o

This commit is contained in:
Adil Hafeez 2025-05-30 12:59:29 -07:00
parent 0696791028
commit c7cd3bb16d
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
2 changed files with 16 additions and 15 deletions

View file

@ -608,20 +608,21 @@ Based on your analysis, provide your response in the following JSON formats if y
// expects conversation to look like this
// [
// {
// "role": "user",
// "content": "What's the weather like in Tokyo?"
// },
// {
// "role": "assistant",
// "content": "The current weather in Tokyo is 22°C and sunny."
// },
// {
// "role": "user",
// "content": "What about in New York?"
// }
// ]
// [
// {
// "role": "user",
// "content": "What's the weather like in Tokyo?"
// },
// {
// "role": "assistant",
// "content": "The current weather in Tokyo is 22°C and sunny."
// },
// {
// "role": "user",
// "content": "What about in New York?"
// }
// ]
let conversation: Vec<Message> = serde_json::from_str(conversation_str).unwrap();
let req = router.generate_request(&conversation);

View file

@ -6,7 +6,7 @@ services:
ports:
- "8080:8080"
environment:
- DEFAULT_MODEL=gpt-4o
- DEFAULT_MODELS=gpt-4o
- ENABLE_OPENAI_API=true
- OPENAI_API_BASE_URL=http://host.docker.internal:12000/v1