Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using plandex with litellm pointing to bedrock + claude won't work #208

Open
jaysonsantos opened this issue Nov 13, 2024 · 0 comments
Open

Comments

@jaysonsantos
Copy link

Hey there, I am trying to run plandex using litellm with the following config:

model_list:
  - model_name: gpt-4o
    litellm_params:
      model: bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
  - model_name: gpt-3.5-turbo 
    litellm_params:
      model: bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
litellm_settings:
    drop_params: true

and pointing plandex with OPENAI_API_BASE
and when trying to tell, litellm returns this Error during plan name model call: error, status code: 400, message: litellm.BadRequestError: Invalid Message bedrock requires at least one non-system message and I wonder, shouldn't the initial prompt always be user instead of system?

this is the return on plandex's cli side

🚨 Server error
  → Error loading plan
    → Error generating plan name
      → Error, status code
        → 400, message
          → Litellm.BadRequestError
            → Invalid Message bedrock requires at least one non-system message
Received Model Group=gpt-3.5-turbo
Available Model Group Fallbacks=None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant