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 updated my langserve version from 0.2.3 to 0.3.0, and I'm experiencing an issue.
If I pass config_keys=("run_id", "configurable", "metadata") as a parameter in the add_routes method, the playground is not displayed correctly.
This sample code also produces the error: add_routes( app, ChatOpenAI(model="gpt-4o-2024-08-06"), path="/openai", config_keys=("run_id", "configurable", "metadata"), )
The key run_id may be causing the error because if I remove it, it does render, but a warning appears for the metadata key.
The installed versions is as follows:
langchain-openai 0.2.1
langserve 0.3.0
The text was updated successfully, but these errors were encountered:
Any pre-lim results from the investigation? Any way we can assist?
We have to upgrade to pydantic>=2.0.0 based on a business requirement, and would like to understand if we can hack our way around this to enable the playground again, until a fix is released.
This looks like a bug with the version of jsonforms used in the UI. I tried upgrading to a newer version but but it looks like there were some breaking changes in the library. If anyone is interested in taking a look and submitting a PR that can help unblock this.
I updated my langserve version from 0.2.3 to 0.3.0, and I'm experiencing an issue.
If I pass
config_keys=("run_id", "configurable", "metadata")
as a parameter in theadd_routes
method, the playground is not displayed correctly.This sample code also produces the error:
add_routes(
app,
ChatOpenAI(model="gpt-4o-2024-08-06"),
path="/openai",
config_keys=("run_id", "configurable", "metadata"),
)
The key
run_id
may be causing the error because if I remove it, it does render, but a warning appears for themetadata
key.The installed versions is as follows:
The text was updated successfully, but these errors were encountered: