ag-ai 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/k8s/opencode.js +6 -2
- package/package.json +1 -1
package/dist/k8s/opencode.js
CHANGED
|
@@ -40,14 +40,18 @@ const opencodeStack = (context) => {
|
|
|
40
40
|
(0, common_1.env)('XDG_CACHE_HOME', '/data/opencode/cache'),
|
|
41
41
|
// The unrestricted /provider response processes thousands of models from
|
|
42
42
|
// unconfigured providers on every request, exceeding the runner's budget.
|
|
43
|
-
//
|
|
44
|
-
//
|
|
43
|
+
// Each advertised model carries the reasoning effort its consumer asks
|
|
44
|
+
// for: sol at high for draft copy, 5.5 at high for draft images, and luna
|
|
45
|
+
// at max for the client's cluster fallback. OpenCode merges these entries
|
|
46
|
+
// with its model catalogue; it does not replace it.
|
|
45
47
|
(0, common_1.env)('OPENCODE_CONFIG_CONTENT', JSON.stringify({
|
|
46
48
|
enabled_providers: ['openai', 'google'],
|
|
47
49
|
provider: {
|
|
48
50
|
openai: {
|
|
49
51
|
models: {
|
|
52
|
+
'gpt-5.6-sol': { options: { reasoningEffort: 'high' } },
|
|
50
53
|
'gpt-5.6-luna': { options: { reasoningEffort: 'max' } },
|
|
54
|
+
'gpt-5.5': { options: { reasoningEffort: 'high' } },
|
|
51
55
|
},
|
|
52
56
|
},
|
|
53
57
|
},
|