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

[Bug]: maxContextTokens in Agents is not correctly set when the model != deploymentName #4700

Open
1 task done
peeeteeer opened this issue Nov 12, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@peeeteeer
Copy link

What happened?

in our case the model configuration in the librechat.yaml file is using the the deploymentName parameter. The model name (e.g. gpt-4o) is not equal the deploymentName. With this when commuicating with an Agent the maxContextTokens is not defined and results in an error.

Steps to Reproduce

  1. name a deployment of a model different than the model name
  2. set the deploymentName in the librechat.yaml
  3. use it in an Agent

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Screenshots

I'm new to js - but this change e.g. fixes the issue - but I'm actually not sure if it is the right thing to do...

image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@peeeteeer peeeteeer added the bug Something isn't working label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant