-
Notifications
You must be signed in to change notification settings - Fork 398
Closed
Labels
anthropic-vertexhelp wantedExtra attention is neededExtra attention is neededinvestigateNeed to dig deeperNeed to dig deepervertexaiGenerative AI on Google Cloud's Vertex AI PlatformGenerative AI on Google Cloud's Vertex AI Platform
Description
If one tries to call an Anthropic model with multiple system message, the error message reads
"System message must be at beginning of message list."
The check comes from here:
langchain-google/libs/vertexai/langchain_google_vertexai/_anthropic_utils.py
Lines 231 to 232 in 0817f78
| if i != 0: | |
| raise ValueError("System message must be at beginning of message list.") |
Why is this limitation in place?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
anthropic-vertexhelp wantedExtra attention is neededExtra attention is neededinvestigateNeed to dig deeperNeed to dig deepervertexaiGenerative AI on Google Cloud's Vertex AI PlatformGenerative AI on Google Cloud's Vertex AI Platform