Commit 95f7fee
committed
fix: add model-name inference for MiMo and GLM/Z.AI in local proxy
inferRemoteModelOpenAIShimConfig() only recognized deepseek,
kimi, and moonshot. When using a local proxy (e.g. GRouter)
with mimo-v2.5-pro or GLM-5.1, the function returned undefined,
so these models got no reasoning config even with the treatAsLocal
merge fix. Now mimo and glm patterns are recognized and return
the same reasoning config their vendor files define.1 parent 1c4ce8b commit 95f7fee
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
166 | 188 | | |
167 | 189 | | |
168 | 190 | | |
| |||
0 commit comments