mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-13 08:27:03 +00:00
BUGFIX: Update bedrock.py to fix provider bug (#13646)
Provider check was incorrectly failing for anything other than "meta"
This commit is contained in:
parent
aec8715073
commit
04bddbaba4
@ -28,7 +28,7 @@ class ChatPromptAdapter:
|
||||
) -> str:
|
||||
if provider == "anthropic":
|
||||
prompt = convert_messages_to_prompt_anthropic(messages=messages)
|
||||
if provider == "meta":
|
||||
elif provider == "meta":
|
||||
prompt = convert_messages_to_prompt_llama(messages=messages)
|
||||
else:
|
||||
raise NotImplementedError(
|
||||
|
Loading…
Reference in New Issue
Block a user