@friendlyrobot/discord-pi-agent 0.7.5 → 0.7.6
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -764,8 +764,8 @@ Example: !model openrouter/anthropic/claude-sonnet-4
|
|
|
764
764
|
Use !model without args to see available models.`
|
|
765
765
|
};
|
|
766
766
|
}
|
|
767
|
-
const provider = arg.substring(0, slashIndex);
|
|
768
|
-
const modelId = arg.substring(slashIndex + 1);
|
|
767
|
+
const provider = arg.substring(0, slashIndex).trim();
|
|
768
|
+
const modelId = arg.substring(slashIndex + 1).trim();
|
|
769
769
|
return {
|
|
770
770
|
handled: true,
|
|
771
771
|
response: await agentService.switchModel(provider, modelId, effectiveSession)
|