Skip to content

Commit 6ebc7d6

Browse files
committed
Add GPT-5.6 model family (Sol, Terra, Luna)
1 parent 5e4c5b5 commit 6ebc7d6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

build.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const OLLAMA_MODEL_MAPPING_SRC: [(&str, &str); 21] = [
149149
("llama2", "llama2"),
150150
];
151151

152-
const OPENAI_MODEL_MAPPING_SRC: [(&str, &str); 33] = [
152+
const OPENAI_MODEL_MAPPING_SRC: [(&str, &str); 41] = [
153153
// Default models
154154
("gpt", "gpt-5"),
155155
("mini", "gpt-5-mini"),
@@ -171,6 +171,15 @@ const OPENAI_MODEL_MAPPING_SRC: [(&str, &str); 33] = [
171171
// GPT-5.1
172172
("gpt5.1", "gpt-5.1"),
173173
("5.1", "gpt-5.1"),
174+
// GPT-5.6 (Sol = flagship, Terra = balanced, Luna = fastest)
175+
("gpt5.6", "gpt-5.6-sol"),
176+
("5.6", "gpt-5.6-sol"),
177+
("sol", "gpt-5.6-sol"),
178+
("gpt5.6sol", "gpt-5.6-sol"),
179+
("terra", "gpt-5.6-terra"),
180+
("gpt5.6terra", "gpt-5.6-terra"),
181+
("luna", "gpt-5.6-luna"),
182+
("gpt5.6luna", "gpt-5.6-luna"),
174183
// GPT Image
175184
("gptimage", "gpt-image-2"),
176185
("gpt-image", "gpt-image-2"),

0 commit comments

Comments
 (0)