opengpts
opengpts copied to clipboard
how to debug tool.
i make custom tool to add opengpts.
but when I debugging to the code. Couldn't find the tool sequence in debug printing....
so please tell me tool sequence action printing what kind of the text!!!!
ex) my printing log
opengpts-backend-1 | [chain/start] [1:chain:Pregel > 14:chain:RunnableSequence > 18:chain:route_last_message] Entering Chain run with input: opengpts-backend-1 | [inputs] opengpts-backend-1 | [chain/start] [1:chain:Pregel > 14:chain:RunnableSequence > 18:chain:route_last_message > 19:chain:RunnablePassthrough] Entering Chain run with input: opengpts-backend-1 | [inputs] opengpts-backend-1 | [chain/end] [1:chain:Pregel > 14:chain:RunnableSequence > 18:chain:route_last_message > 19:chain:RunnablePassthrough] [1ms] Exiting Chain run with output: opengpts-backend-1 | { opengpts-backend-1 | "messages": [ opengpts-backend-1 | { opengpts-backend-1 | "lc": 1, opengpts-backend-1 | "type": "constructor", opengpts-backend-1 | "id": [ opengpts-backend-1 | "langchain", opengpts-backend-1 | "schema", opengpts-backend-1 | "messages", opengpts-backend-1 | "HumanMessage" opengpts-backend-1 | ], opengpts-backend-1 | "kwargs": { opengpts-backend-1 | "content": "Find recent popular reseach in 2024", opengpts-backend-1 | "additional_kwargs": {}, opengpts-backend-1 | "type": "human", opengpts-backend-1 | "example": false opengpts-backend-1 | } opengpts-backend-1 | }, opengpts-backend-1 | { opengpts-backend-1 | "lc": 1, opengpts-backend-1 | "type": "constructor", opengpts-backend-1 | "id": [ opengpts-backend-1 | "langchain", opengpts-backend-1 | "schema", opengpts-backend-1 | "messages", opengpts-backend-1 | "AIMessage" opengpts-backend-1 | ], opengpts-backend-1 | "kwargs": { opengpts-backend-1 | "content": " Certainly! Here are some recent popular research findings in 2024:\n\n1. Climate Change: A study published in the journal Nature in February 2024 found that the Earth's climate is warming at a rate of 0.25 degrees Celsius per decade, which is faster than previously thought. The study suggests that the planet could warm by 1.5 degrees