Skip to content

The agent engineering platform.

docs: Update quickstart.mdx - Fix 422 error in example with LangServe client code (#17163)

Schalkjef0ada1a39673
diff --git a/docs/docs/get_started/quickstart.mdx b/docs/docs/get_started/quickstart.mdx
index 120bfe6cdc..f5d43e02a2 100644
--- a/docs/docs/get_started/quickstart.mdx
+++ b/docs/docs/get_started/quickstart.mdx
@@ -581,7 +581,10 @@ Using this, we can interact with the served chain as if it were running client-s
from langserve import RemoteRunnable
remote_chain = RemoteRunnable("http://localhost:8000/agent/")
-remote_chain.invoke({"input": "how can langsmith help with testing?"})
+remote_chain.invoke({
+ "input": "how can langsmith help with testing?",
+ "chat_history": [] # Providing an empty list as this is the first call
+})
```
To learn more about the many other features of LangServe [head here](/docs/langserve).