@modelbay/mcp 0.5.1 → 0.6.1
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/routing.mjs +3 -1
- package/package.json +2 -2
package/dist/routing.mjs
CHANGED
|
@@ -110,11 +110,13 @@ function localResult(handler, args, set, models) {
|
|
|
110
110
|
channels: model.channels.map((entry) => {
|
|
111
111
|
const contextWindow = entry.contextWindow ?? model.contextWindow;
|
|
112
112
|
const maxOutputTokens = entry.maxOutputTokens ?? model.maxOutputTokens;
|
|
113
|
+
const maxInputTokens = entry.maxInputTokens ?? model.maxInputTokens;
|
|
113
114
|
return {
|
|
114
115
|
channel: entry.channel,
|
|
115
116
|
id: entry.id,
|
|
116
117
|
...contextWindow !== void 0 ? { contextWindow } : {},
|
|
117
|
-
...maxOutputTokens !== void 0 ? { maxOutputTokens } : {}
|
|
118
|
+
...maxOutputTokens !== void 0 ? { maxOutputTokens } : {},
|
|
119
|
+
...maxInputTokens !== void 0 ? { maxInputTokens } : {}
|
|
118
120
|
};
|
|
119
121
|
})
|
|
120
122
|
})) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelbay/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "MCP server for Volcengine Ark, Alibaba Bailian, MiniMax, Doubao Speech and OpenAI: image, video, speech, music and chat tools for Claude Code, Codex, Cursor and Claude Desktop",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"zod": "^4.6"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"modelbay": "0.
|
|
58
|
+
"modelbay": "0.6.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@modelbay/ark": "0.1.0",
|