unified-ai-router 3.2.1 → 3.2.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/bruno/openai/chat.bru +1 -1
- package/main.js +2 -2
- package/package.json +1 -1
package/bruno/openai/chat.bru
CHANGED
package/main.js
CHANGED
|
@@ -116,11 +116,11 @@ class AIRouter
|
|
|
116
116
|
const client = this.createClient( provider );
|
|
117
117
|
|
|
118
118
|
const params = {
|
|
119
|
-
model: provider.model,
|
|
120
119
|
messages,
|
|
121
120
|
...tools && tools.length > 0 ? { tools } : {},
|
|
122
121
|
stream: isStreaming,
|
|
123
|
-
...restOptions
|
|
122
|
+
...restOptions,
|
|
123
|
+
model: provider.model
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
const { data, response: rawResponse } = await client.chat.completions.create( params ).withResponse();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unified-ai-router",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "A unified interface for multiple LLM providers with automatic fallback. This project includes an OpenAI-compatible server and a deployable Telegram bot with a Mini App interface. It supports major providers like OpenAI, Google, Grok, and more, ensuring reliability and flexibility for your AI applications.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "mlibre",
|