polydev-ai 1.8.1 → 1.8.2
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/mcp/stdio-wrapper.js +9 -4
- package/package.json +1 -1
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -632,14 +632,19 @@ class StdioMCPWrapper {
|
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
634
|
* Get default model name for a CLI tool (used when model not specified in result)
|
|
635
|
+
* These are just display labels - actual model selection is done by:
|
|
636
|
+
* 1. User's configured default_model in dashboard API keys
|
|
637
|
+
* 2. CLI tool's own default if no preference set
|
|
635
638
|
*/
|
|
636
639
|
getDefaultModelForCli(providerId) {
|
|
640
|
+
// Return a display label indicating CLI default was used
|
|
641
|
+
// The actual model depends on the CLI tool's configuration
|
|
637
642
|
const defaults = {
|
|
638
|
-
'claude_code': '
|
|
639
|
-
'codex_cli': '
|
|
640
|
-
'gemini_cli': '
|
|
643
|
+
'claude_code': 'CLI Default',
|
|
644
|
+
'codex_cli': 'CLI Default',
|
|
645
|
+
'gemini_cli': 'CLI Default'
|
|
641
646
|
};
|
|
642
|
-
return defaults[providerId] ||
|
|
647
|
+
return defaults[providerId] || 'CLI Default';
|
|
643
648
|
}
|
|
644
649
|
|
|
645
650
|
/**
|
package/package.json
CHANGED