-
I have a simple agent I want to test locally. I start the agent with How do I correctly set the thread_id?
Agent is just a single tool with an LLM, as presented in the Langgraph basics: https://langchain-ai.github.io/langgraph/tutorials/get-started/2-add-tools/ I deploy it using
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Could check the docs : https://langchain-ai.github.io/langgraph/cloud/reference/api/api_ref.html#tag/thread-runs http://localhost:2024/threads/{thread_id}/runs/stream And use In the payload to have that thread created automatically |
Beta Was this translation helpful? Give feedback.
-
Thank you. I had seen this part of the docs, however it wasn't clear to me that I have to use the endpoint to achieve consistency. |
Beta Was this translation helpful? Give feedback.
Could check the docs : https://langchain-ai.github.io/langgraph/cloud/reference/api/api_ref.html#tag/thread-runs
http://localhost:2024/threads/{thread_id}/runs/stream
And use
"if_not_exists": "create"
In the payload to have that thread created automatically