reasoning-map-before-todo95.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. [
  2. {
  3. "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }",
  4. "rules": [
  5. {
  6. "scope": "modelApiRules",
  7. "index": 3,
  8. "modelMatch": ".*(?:ox-alpha|glm-x-preview-f|x-preview-f-free).*",
  9. "apiMatch": "anthropic-messages"
  10. }
  11. ]
  12. },
  13. {
  14. "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning_effort\": \"high\"\n }\n : {\n \"reasoning_effort\": \"max\"\n }",
  15. "rules": [
  16. {
  17. "scope": "modelApiRules",
  18. "index": 4,
  19. "modelMatch": ".*(?:ox-alpha|glm-x-preview-f|x-preview-f-free).*",
  20. "apiMatch": "openai-chat-completions"
  21. },
  22. {
  23. "scope": "modelApiRules",
  24. "index": 25,
  25. "modelMatch": ".*kimi-k3(?:[.\\-:/\\[].*)?",
  26. "apiMatch": "openai-chat-completions"
  27. },
  28. {
  29. "scope": "modelApiRules",
  30. "index": 27,
  31. "modelMatch": ".*k3(?:[.\\-:/\\[].*)?",
  32. "apiMatch": "openai-chat-completions"
  33. },
  34. {
  35. "scope": "modelApiRules",
  36. "index": 29,
  37. "modelMatch": ".*k3-256k(?:[.\\-:/\\[].*)?",
  38. "apiMatch": "openai-chat-completions"
  39. }
  40. ]
  41. },
  42. {
  43. "map": "reasoningLevel == \"enabled\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }",
  44. "rules": [
  45. {
  46. "scope": "modelApiRules",
  47. "index": 5,
  48. "modelMatch": ".*glm-5(?:[.\\-:/\\[].*)?",
  49. "apiMatch": "anthropic-messages"
  50. },
  51. {
  52. "scope": "modelApiRules",
  53. "index": 7,
  54. "modelMatch": ".*GLM-5-Turbo(?:[.\\-:/\\[].*)?",
  55. "apiMatch": "anthropic-messages"
  56. },
  57. {
  58. "scope": "modelApiRules",
  59. "index": 10,
  60. "modelMatch": ".*glm-5\\.1(?:[.\\-:/\\[].*)?",
  61. "apiMatch": "anthropic-messages"
  62. },
  63. {
  64. "scope": "modelApiRules",
  65. "index": 11,
  66. "modelMatch": ".*glm-5\\.1-highspeed(?:[.\\-:/\\[].*)?",
  67. "apiMatch": "anthropic-messages"
  68. },
  69. {
  70. "scope": "modelApiRules",
  71. "index": 12,
  72. "modelMatch": ".*glm-5v-turbo(?:[.\\-:/\\[].*)?",
  73. "apiMatch": "anthropic-messages"
  74. },
  75. {
  76. "scope": "modelApiRules",
  77. "index": 13,
  78. "modelMatch": ".*glm-4\\.7(?:[.\\-:/\\[].*)?",
  79. "apiMatch": "anthropic-messages"
  80. },
  81. {
  82. "scope": "modelApiRules",
  83. "index": 14,
  84. "modelMatch": ".*glm-4\\.7-flashx(?:[.\\-:/\\[].*)?",
  85. "apiMatch": "anthropic-messages"
  86. },
  87. {
  88. "scope": "modelApiRules",
  89. "index": 15,
  90. "modelMatch": ".*glm-4\\.7-flash(?:[.\\-:/\\[].*)?",
  91. "apiMatch": "anthropic-messages"
  92. },
  93. {
  94. "scope": "modelApiRules",
  95. "index": 16,
  96. "modelMatch": ".*glm-4\\.6(?:[.\\-:/\\[].*)?",
  97. "apiMatch": "anthropic-messages"
  98. },
  99. {
  100. "scope": "modelApiRules",
  101. "index": 17,
  102. "modelMatch": ".*glm-4\\.5(?:[.\\-:/\\[].*)?",
  103. "apiMatch": "anthropic-messages"
  104. },
  105. {
  106. "scope": "modelApiRules",
  107. "index": 18,
  108. "modelMatch": ".*glm-4\\.5-air(?:[.\\-:/\\[].*)?",
  109. "apiMatch": "anthropic-messages"
  110. },
  111. {
  112. "scope": "modelApiRules",
  113. "index": 34,
  114. "modelMatch": ".*kimi-k2\\.6(?:[.\\-:/\\[].*)?",
  115. "apiMatch": "anthropic-messages"
  116. },
  117. {
  118. "scope": "modelApiRules",
  119. "index": 35,
  120. "modelMatch": ".*kimi-k2\\.6(?:[.\\-:/\\[].*)?",
  121. "apiMatch": "openai-chat-completions"
  122. },
  123. {
  124. "scope": "modelApiRules",
  125. "index": 36,
  126. "modelMatch": ".*kimi-k2\\.5(?:[.\\-:/\\[].*)?",
  127. "apiMatch": "anthropic-messages"
  128. },
  129. {
  130. "scope": "modelApiRules",
  131. "index": 37,
  132. "modelMatch": ".*kimi-k2\\.5(?:[.\\-:/\\[].*)?",
  133. "apiMatch": "openai-chat-completions"
  134. },
  135. {
  136. "scope": "modelApiRules",
  137. "index": 46,
  138. "modelMatch": ".*qwen3\\.5-plus(?:[.\\-:/\\[].*)?",
  139. "apiMatch": "anthropic-messages"
  140. },
  141. {
  142. "scope": "modelApiRules",
  143. "index": 48,
  144. "modelMatch": ".*qwen3\\.5-flash(?:[.\\-:/\\[].*)?",
  145. "apiMatch": "anthropic-messages"
  146. },
  147. {
  148. "scope": "modelApiRules",
  149. "index": 50,
  150. "modelMatch": ".*qwen-plus(?:[.\\-:/\\[].*)?",
  151. "apiMatch": "anthropic-messages"
  152. },
  153. {
  154. "scope": "modelApiRules",
  155. "index": 52,
  156. "modelMatch": ".*qwen-flash(?:[.\\-:/\\[].*)?",
  157. "apiMatch": "anthropic-messages"
  158. },
  159. {
  160. "scope": "modelApiRules",
  161. "index": 54,
  162. "modelMatch": ".*qwen3-vl-plus(?:[.\\-:/\\[].*)?",
  163. "apiMatch": "anthropic-messages"
  164. },
  165. {
  166. "scope": "modelApiRules",
  167. "index": 56,
  168. "modelMatch": ".*mimo-v2\\.5(?:[.\\-:/\\[].*)?",
  169. "apiMatch": "anthropic-messages"
  170. },
  171. {
  172. "scope": "modelApiRules",
  173. "index": 57,
  174. "modelMatch": ".*mimo-v2\\.5(?:[.\\-:/\\[].*)?",
  175. "apiMatch": "openai-chat-completions"
  176. },
  177. {
  178. "scope": "modelApiRules",
  179. "index": 58,
  180. "modelMatch": ".*mimo-v2\\.5-pro(?:[.\\-:/\\[].*)?",
  181. "apiMatch": "anthropic-messages"
  182. },
  183. {
  184. "scope": "modelApiRules",
  185. "index": 59,
  186. "modelMatch": ".*mimo-v2\\.5-pro(?:[.\\-:/\\[].*)?",
  187. "apiMatch": "openai-chat-completions"
  188. },
  189. {
  190. "scope": "modelApiRules",
  191. "index": 60,
  192. "modelMatch": ".*mimo-v2-flash(?:[.\\-:/\\[].*)?",
  193. "apiMatch": "anthropic-messages"
  194. },
  195. {
  196. "scope": "modelApiRules",
  197. "index": 61,
  198. "modelMatch": ".*mimo-v2-flash(?:[.\\-:/\\[].*)?",
  199. "apiMatch": "openai-chat-completions"
  200. }
  201. ]
  202. },
  203. {
  204. "map": "reasoningLevel == \"max\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }",
  205. "rules": [
  206. {
  207. "scope": "modelApiRules",
  208. "index": 6,
  209. "modelMatch": ".*GLM-5\\.2(?:[.\\-:/\\[].*)?",
  210. "apiMatch": "anthropic-messages"
  211. }
  212. ]
  213. },
  214. {
  215. "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }",
  216. "rules": [
  217. {
  218. "scope": "modelApiRules",
  219. "index": 8,
  220. "modelMatch": ".*glm-5\\.3(?:-flash)?(?:[.\\-:/\\[].*)?",
  221. "apiMatch": "anthropic-messages"
  222. }
  223. ]
  224. },
  225. {
  226. "map": "reasoningLevel == \"none\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : reasoningLevel == \"xhigh\"\n ? {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"max\"\n }\n }",
  227. "rules": [
  228. {
  229. "scope": "modelApiRules",
  230. "index": 19,
  231. "modelMatch": ".*gpt-5\\.6(?:-(?:sol|terra|luna))?(?:[.\\-:/\\[].*)?",
  232. "apiMatch": "openai-responses"
  233. }
  234. ]
  235. },
  236. {
  237. "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }",
  238. "rules": [
  239. {
  240. "scope": "modelApiRules",
  241. "index": 20,
  242. "modelMatch": ".*gpt-5\\.3-codex(?:[.\\-:/\\[].*)?",
  243. "apiMatch": "openai-responses"
  244. },
  245. {
  246. "scope": "modelApiRules",
  247. "index": 23,
  248. "modelMatch": ".*grok-4\\.6(?:[.\\-:/\\[].*)?",
  249. "apiMatch": "openai-responses"
  250. }
  251. ]
  252. },
  253. {
  254. "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : reasoningLevel == \"xhigh\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"xhigh\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }",
  255. "rules": [
  256. {
  257. "scope": "modelApiRules",
  258. "index": 21,
  259. "modelMatch": ".*claude-(?:fable|opus|sonnet)-5(?:[.\\-:/\\[].*)?",
  260. "apiMatch": "anthropic-messages"
  261. }
  262. ]
  263. },
  264. {
  265. "map": "reasoningLevel == \"low\"\n ? {\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"output_config\": {\n \"effort\": \"max\"\n }\n }",
  266. "rules": [
  267. {
  268. "scope": "modelApiRules",
  269. "index": 24,
  270. "modelMatch": ".*kimi-k3(?:[.\\-:/\\[].*)?",
  271. "apiMatch": "anthropic-messages"
  272. },
  273. {
  274. "scope": "modelApiRules",
  275. "index": 26,
  276. "modelMatch": ".*k3(?:[.\\-:/\\[].*)?",
  277. "apiMatch": "anthropic-messages"
  278. },
  279. {
  280. "scope": "modelApiRules",
  281. "index": 28,
  282. "modelMatch": ".*k3-256k(?:[.\\-:/\\[].*)?",
  283. "apiMatch": "anthropic-messages"
  284. }
  285. ]
  286. },
  287. {
  288. "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n }\n }",
  289. "rules": [
  290. {
  291. "scope": "modelApiRules",
  292. "index": 31,
  293. "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?",
  294. "apiMatch": "anthropic-messages"
  295. },
  296. {
  297. "scope": "modelApiRules",
  298. "index": 32,
  299. "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?",
  300. "apiMatch": "openai-chat-completions"
  301. }
  302. ]
  303. },
  304. {
  305. "map": "reasoningLevel == \"off\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }",
  306. "rules": [
  307. {
  308. "scope": "modelApiRules",
  309. "index": 33,
  310. "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?",
  311. "apiMatch": "openai-responses"
  312. }
  313. ]
  314. },
  315. {
  316. "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }",
  317. "rules": [
  318. {
  319. "scope": "modelApiRules",
  320. "index": 38,
  321. "modelMatch": ".*deepseek-v4-flash(?:[.\\-:/\\[].*)?",
  322. "apiMatch": "anthropic-messages"
  323. },
  324. {
  325. "scope": "modelApiRules",
  326. "index": 40,
  327. "modelMatch": ".*deepseek-v4-pro(?:[.\\-:/\\[].*)?",
  328. "apiMatch": "anthropic-messages"
  329. }
  330. ]
  331. },
  332. {
  333. "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"high\"\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"max\"\n }",
  334. "rules": [
  335. {
  336. "scope": "modelApiRules",
  337. "index": 39,
  338. "modelMatch": ".*deepseek-v4-flash(?:[.\\-:/\\[].*)?",
  339. "apiMatch": "openai-chat-completions"
  340. },
  341. {
  342. "scope": "modelApiRules",
  343. "index": 41,
  344. "modelMatch": ".*deepseek-v4-pro(?:[.\\-:/\\[].*)?",
  345. "apiMatch": "openai-chat-completions"
  346. }
  347. ]
  348. },
  349. {
  350. "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"medium\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"xhigh\"\n }\n }",
  351. "rules": [
  352. {
  353. "scope": "modelApiRules",
  354. "index": 43,
  355. "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?",
  356. "apiMatch": "anthropic-messages"
  357. }
  358. ]
  359. },
  360. {
  361. "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning_effort\": \"medium\"\n }\n : {\n \"reasoning_effort\": \"xhigh\"\n }",
  362. "rules": [
  363. {
  364. "scope": "modelApiRules",
  365. "index": 44,
  366. "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?",
  367. "apiMatch": "openai-chat-completions"
  368. }
  369. ]
  370. },
  371. {
  372. "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }",
  373. "rules": [
  374. {
  375. "scope": "modelApiRules",
  376. "index": 45,
  377. "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?",
  378. "apiMatch": "openai-responses"
  379. }
  380. ]
  381. },
  382. {
  383. "map": "reasoningLevel == \"enabled\"\n ? {\n \"enable_thinking\": true\n }\n : {\n \"enable_thinking\": false\n }",
  384. "rules": [
  385. {
  386. "scope": "modelApiRules",
  387. "index": 47,
  388. "modelMatch": ".*qwen3\\.5-plus(?:[.\\-:/\\[].*)?",
  389. "apiMatch": "openai-chat-completions"
  390. },
  391. {
  392. "scope": "modelApiRules",
  393. "index": 49,
  394. "modelMatch": ".*qwen3\\.5-flash(?:[.\\-:/\\[].*)?",
  395. "apiMatch": "openai-chat-completions"
  396. },
  397. {
  398. "scope": "modelApiRules",
  399. "index": 51,
  400. "modelMatch": ".*qwen-plus(?:[.\\-:/\\[].*)?",
  401. "apiMatch": "openai-chat-completions"
  402. },
  403. {
  404. "scope": "modelApiRules",
  405. "index": 53,
  406. "modelMatch": ".*qwen-flash(?:[.\\-:/\\[].*)?",
  407. "apiMatch": "openai-chat-completions"
  408. },
  409. {
  410. "scope": "modelApiRules",
  411. "index": 55,
  412. "modelMatch": ".*qwen3-vl-plus(?:[.\\-:/\\[].*)?",
  413. "apiMatch": "openai-chat-completions"
  414. }
  415. ]
  416. },
  417. {
  418. "map": "{\"output_config\": {\"effort\": reasoningLevel}}",
  419. "rules": [
  420. {
  421. "scope": "providerSiteRules",
  422. "index": 0,
  423. "modelMatch": ".*gpt-5\\.(?:6(?:-(?:sol|terra|luna))?|3-codex)(?:[.\\-:/\\[].*)?",
  424. "apiMatch": "anthropic-messages",
  425. "baseURLMatch": "https://openrouter\\.ai/api(?:/v1)?/?"
  426. }
  427. ]
  428. },
  429. {
  430. "map": "reasoningLevel == \"off\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"max\"\n }\n }",
  431. "rules": [
  432. {
  433. "scope": "providerSiteRules",
  434. "index": 2,
  435. "modelMatch": "deepseek-v4-flash",
  436. "apiMatch": "openai-responses",
  437. "baseURLMatch": "https://api\\.deepseek\\.com(?:/.*)?"
  438. },
  439. {
  440. "scope": "providerSiteRules",
  441. "index": 3,
  442. "modelMatch": "deepseek-v4-pro",
  443. "apiMatch": "openai-responses",
  444. "baseURLMatch": "https://api\\.deepseek\\.com(?:/.*)?"
  445. }
  446. ]
  447. }
  448. ]