You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at the railway log, and found the the bot actually got the message back from OpenAI, but it couldn't parse the message:
response: {
ok: false,
status: 400,
Input: Do you know railway?
Entering new agent_executor chain...
Error: Unable to parse JSON response from chat agent.
Yes, I am familiar with railways. Railways are systems of transportation that use tracks to guide trains, trams, or other vehicles. They are commonly used for passenger transportation as well as for the movement of goods and freight. Railways have been an essential mode of transportation globally for many years. If you have any specific questions about railways or need information on a particular aspect, feel free to ask!
at ChatConversationalAgent.extractToolAndInput (/app/node_modules/langchain/dist/agents/chat_convo/index.cjs:125:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ChatConversationalAgent._plan (/app/node_modules/langchain/src/agents/agent.ts:262:13)
at async AgentExecutor._call (/app/node_modules/langchain/src/agents/executor.ts:77:8)
at async AgentExecutor.call (/app/node_modules/langchain/src/chains/base.ts:96:18)
{ message: '"不清楚"' }
Input: Hello
Entering new agent_executor chain...
{
"action": "Final Answer",
"action_input": "Hello! How can I assist you today?"
}
Finished chain.
Model response: [object Object]
Hi,
I've deployed to railway and changed gpt 4 to gpt-3.5-turbo.
i can send one message to the telegram bot and it'll respond. but the second message i get this error on Telegram:
"Whoops! There was an error while talking to OpenAI. Error: "Unable to extract error"
On Raleway, these are the error logs:
What might have caused this?
The text was updated successfully, but these errors were encountered: