cc-goto-work 0.8.3 → 0.9.0
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/bin/cli.js +5 -8
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -214,14 +214,11 @@ function createConfig(apiBase, apiKey, model) {
|
|
|
214
214
|
const configContent = `# cc-goto-work configuration
|
|
215
215
|
# https://github.com/${REPO}
|
|
216
216
|
|
|
217
|
-
|
|
218
|
-
api_base: ${apiBase}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
# Model name to use
|
|
224
|
-
model: ${model}
|
|
217
|
+
providers:
|
|
218
|
+
- api_base: ${apiBase}
|
|
219
|
+
api_key: ${apiKey}
|
|
220
|
+
models:
|
|
221
|
+
- ${model}
|
|
225
222
|
|
|
226
223
|
# Request timeout in seconds (optional)
|
|
227
224
|
timeout: 30
|