@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.
Files changed (2) hide show
  1. package/dist/index.js +2 -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friendlyrobot/discord-pi-agent",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "Reusable Discord gateway bridge for persistent pi agent sessions",
5
5
  "license": "MIT",
6
6
  "type": "module",