@tiledesk/tiledesk-tybot-connector 2.1.1 → 2.1.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/logs/app1.log CHANGED
@@ -1889,3 +1889,39 @@ info: Tilebot connector listening on port 10001
1889
1889
  info: DirAskGPTV2 resbody else case: {"answer":"No answers","success":false}
1890
1890
  error: Axios error response data: {"error":{"answer":"No answer","chat_history_dict":{},"citations":null,"content_chunks":null,"error_message":"IndexError('list index out of range')","id":null,"ids":null,"namespace":"66ec24a028a0c600130baa6a","prompt_token_size":0,"source":null,"sources":null,"success":false},"statusText":"Bad Request","success":false}
1891
1891
  error: DirAskGPTV2 error: {"data":{"error":{"answer":"No answer","chat_history_dict":{},"citations":null,"content_chunks":null,"error_message":"IndexError('list index out of range')","id":null,"ids":null,"namespace":"66ec24a028a0c600130baa6a","prompt_token_size":0,"source":null,"sources":null,"success":false},"statusText":"Bad Request","success":false},"status":400,"statusText":"Bad Request"}
1892
+ info: AI_MODELS not defined
1893
+ info: AI Models:
1894
+ info: AI_MODELS not defined
1895
+ info: AI Models:
1896
+ info: Starting tilebot server...
1897
+ info: (Tilebot) Starting Tilebot..
1898
+ info: (Tilebot) settings.API_ENDPOINT:http://127.0.0.1:10002
1899
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://127.0.0.1:10001
1900
+ info: (Tilebot) Log Level: info
1901
+ info: (Tilebot) MAX_STEPS: 1000
1902
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1903
+ info: (Tilebot) Starting Tilebot connector v2.1.0
1904
+ info: (Tilebot) Using static bots
1905
+ info: (Tilebot) Connecting Redis...
1906
+ info: (Tilebot) Redis connected
1907
+ info: (Tilebot) Tilebot started
1908
+ info: Tilebot route successfully started.
1909
+ info: Tilebot connector listening on port
1910
+ info: AI_MODELS not defined
1911
+ info: AI Models:
1912
+ info: AI_MODELS not defined
1913
+ info: AI Models:
1914
+ info: Starting tilebot server...
1915
+ info: (Tilebot) Starting Tilebot..
1916
+ info: (Tilebot) settings.API_ENDPOINT:http://127.0.0.1:10002
1917
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://127.0.0.1:10001
1918
+ info: (Tilebot) Log Level: info
1919
+ info: (Tilebot) MAX_STEPS: 1000
1920
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1921
+ info: (Tilebot) Starting Tilebot connector v2.1.0
1922
+ info: (Tilebot) Using static bots
1923
+ info: (Tilebot) Connecting Redis...
1924
+ info: (Tilebot) Redis connected
1925
+ info: (Tilebot) Tilebot started
1926
+ info: Tilebot route successfully started.
1927
+ info: Tilebot connector listening on port
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -281,7 +281,8 @@ class DirAiPrompt {
281
281
  json.model = {
282
282
  name: filled_model,
283
283
  url: vllm_server_config.url,
284
- token: vllm_server_config.token || null
284
+ api_key: vllm_server_config.apikey || vllm_server_config.token || null,
285
+ provider: 'vllm'
285
286
  }
286
287
  }
287
288