-
-
Couldn't load subscription status.
- Fork 4.5k
Don't add "accounts/fireworks/models" prefix for Fireworks Provider #15938
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
base: main
Are you sure you want to change the base?
Conversation
|
@1stprinciple is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
| ) -> dict: | ||
| prompt = _transform_prompt(messages=messages) | ||
|
|
||
| if not model.startswith("accounts/"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @1stprinciple can you share an example of this not working for text completions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, we now support fireworks model format that looks like
fireworks/<model_id>#fireworks/<deployment_id> that doesn't start with "accounts"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: we're considering removing this "short" form syntax in the future to simplify the number of ID formats we support.
let's discuss internally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@1stprinciple removing this would cause failing requests for models that do require it, and users who were expecting litellm to handle this (as documented).
Can you suggest a change which accounts for your model id #fireworks change without failing requests for existing user code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added "#" not in model
Models served on fireworks.ai don't necessarily start with "account"