Update chat.py
Browse files
chat.py
CHANGED
@@ -50,7 +50,7 @@ def converse(conversation,provider,model,key,other:dict={}):
|
|
50 |
return response.json()
|
51 |
inputs = segmind_input_parser(conversation)
|
52 |
output = run(model, inputs)
|
53 |
-
|
54 |
return {'content':output['result']['response']}
|
55 |
elif(provider == 'openrouter'):
|
56 |
chat = ChatOpenAI(
|
|
|
50 |
return response.json()
|
51 |
inputs = segmind_input_parser(conversation)
|
52 |
output = run(model, inputs)
|
53 |
+
print(output)
|
54 |
return {'content':output['result']['response']}
|
55 |
elif(provider == 'openrouter'):
|
56 |
chat = ChatOpenAI(
|