Skip to content

Conversation

@1stprinciple
Copy link

Models served on fireworks.ai don't necessarily start with "account"

@vercel
Copy link

vercel bot commented Oct 26, 2025

@1stprinciple is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Oct 26, 2025

CLA assistant check
All committers have signed the CLA.

@1stprinciple 1stprinciple changed the title Remove "accounts/fireworks/models" prefix for Fireworks Provider Don't add "accounts/fireworks/models" prefix for Fireworks Provider Oct 26, 2025
) -> dict:
prompt = _transform_prompt(messages=messages)

if not model.startswith("accounts/"):
Copy link
Contributor

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?

Copy link
Author

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"

Copy link

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

Copy link
Contributor

@krrishdholakia krrishdholakia Oct 28, 2025

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added "#" not in model

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

Successfully merging this pull request may close these issues.

4 participants