Replies: 1 comment 4 replies
-
pydantic.v1.errors.ConfigError: field "config" not yet prepared so type is still a ForwardRef, you might need to call BedrockChat.update_forward_refs(). Looks like an issue due to pydantic type annotations not being resolved. Have you tried typing |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following one of the examples:
this works fine with open ai(note for open ai, it is model_name), but when I change it to bedrockChat, I keep getting the following error:
Note: when I remove the configurable_fields logic, and just use
add_routes(
app,
BedrockChat(model_id="meta.llama2-13b-chat-v1"),
path="/bedrock",
)
it works.
Wondering if anyone could share some light
Beta Was this translation helpful? Give feedback.
All reactions