@orchagent/cli 0.3.81 → 0.3.82
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/commands/run.js +8 -0
- package/package.json +1 -1
package/dist/commands/run.js
CHANGED
|
@@ -1826,6 +1826,14 @@ async function executeCloud(agentRef, file, options) {
|
|
|
1826
1826
|
...(options.model && { model: options.model }),
|
|
1827
1827
|
};
|
|
1828
1828
|
}
|
|
1829
|
+
else if (effectiveProvider || options.model) {
|
|
1830
|
+
// No local key, but user specified --provider or --model.
|
|
1831
|
+
// Send preferences so the gateway uses the right vault key.
|
|
1832
|
+
llmCredentials = {
|
|
1833
|
+
...(effectiveProvider && { provider: effectiveProvider }),
|
|
1834
|
+
...(options.model && { model: options.model }),
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1829
1837
|
else if (cloudEngine !== 'code_runtime') {
|
|
1830
1838
|
const searchedProviders = effectiveProvider ? [effectiveProvider] : supportedProviders;
|
|
1831
1839
|
const providerList = searchedProviders.join(', ');
|
package/package.json
CHANGED