Skip to content

Commit 9112242

Browse files
authored
[hotfix] add gpt-5.1 and gemeni-3 (#439)
Signed-off-by: Trevor Grant <[email protected]>
1 parent f09ad26 commit 9112242

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

webapp/packages/api/user-service/config/gemini/__init__.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
models = {
2+
"gemini-3-pro-preview": {
3+
"parameters": {
4+
"temperature": {
5+
"type": "float",
6+
"default": 1.0,
7+
"min": 0.0,
8+
"max": 2.0,
9+
"description": "Temperature - Controls the randomness of the output."
10+
},
11+
"reasoning_effort": {
12+
"type": "choice",
13+
"default": "disable",
14+
"choices": ["disable", "low", "medium", "high"],
15+
"description": "Reasoning Effort: Effort level for reasoning during generation"
216

17+
},
18+
},
19+
"built_in_tools": [
20+
{
21+
"id": "google_search",
22+
"description": "Performs a Google search.",
23+
"tool_config": {"google_search": {}}
24+
},
25+
{
26+
"id": "urlContext",
27+
"description": "Provides context from a specified URL.",
28+
"tool_config": {"urlContext": {}}
29+
},
30+
{
31+
"id": "code_execution",
32+
"description": "Executes code snippets in a secure environment.",
33+
"tool_config": {"codeExecution": {}}
34+
}
35+
]
36+
}
337
"gemini-2.5-pro": {
438
"parameters": {
539
"temperature": {

webapp/packages/api/user-service/config/openai/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33

44
models = {
55
# === GPT-5 family ===
6+
"gpt-5.1-2025-11-13": {
7+
"api_style": "responses",
8+
"returns_thoughts": True,
9+
"parameters": {
10+
"reasoning_effort": {
11+
"type": "choice",
12+
"default": "disable",
13+
"choices": ["disable", "low", "medium", "high"],
14+
"description": "Reasoning Effort: Effort level for reasoning during generation"
15+
},
16+
}
17+
}
618
"gpt-5": {
719
"api_style": "responses",
820
"returns_thoughts": True, # reasoning traces supported by GPT-5/o-series

0 commit comments

Comments
 (0)