unified-ai-router 2.3.2 → 2.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unified-ai-router",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "A unified interface for multiple LLM providers with automatic fallback, featuring an OpenAI-compatible server, tool support, and a deployable Telegram bot.",
5
5
  "license": "ISC",
6
6
  "author": "mlibre",
package/readme.md CHANGED
@@ -208,6 +208,8 @@ After deploying the bot, you need to configure the Telegram Mini App and menu bu
208
208
 
209
209
  Once configured, users can access the Mini App by sending `/start` or `/app` to your bot, or through the menu button.
210
210
 
211
+ An example of a deployed bot is accessible on Telegram: [https://t.me/freePulseAIbot](https://t.me/freePulseAIbot)
212
+
211
213
  ## 📁 Project Structure
212
214
 
213
215
  * `main.js` - The core AIRouter library.
@@ -52,7 +52,7 @@ module.exports = async ( req, res ) =>
52
52
  // Use your existing AI Router with the full message history
53
53
  const aiResponse = await telegramClient.aiRouter.chatCompletion( messages );
54
54
 
55
- return res.status( 200 ).json({ response: aiResponse });
55
+ return res.status( 200 ).json({ response: aiResponse.content });
56
56
 
57
57
  }
58
58
  catch ( error )