Skip to content

[Bug]: together_ai/meta-llama/Llama-3.3-70B-Instruct-Turbo error using tool calls #7785

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

Closed
DanielChico opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DanielChico
Copy link
Contributor

What happened?

When trying to use tool calling with together_ai/meta-llama/Llama-3.3-70B-Instruct-Turbo model litellm throws the following error:
litellm.exceptions.UnsupportedParamsError: litellm.UnsupportedParamsError: together_ai does not support parameters: {'tools': ...
But it works with together_ai/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo model

Relevant log output

E               litellm.exceptions.UnsupportedParamsError: litellm.UnsupportedParamsError: together_ai does not support parameters: {'tools': [{'type': 'functio
n', 'function': {'name': 'random_number', 'description': 'Get a random number between two numbers.', 'parameters': {'type': 'object', 'properties': {'num_a': {'
type': 'integer'}, 'num_b': {'type': 'integer'}}, 'required': ['num_a', 'num_b']}}}]}, for model=meta-llama/Llama-3.3-70B-Instruct-Turbo-Free. To drop these, se
t `litellm.drop_params=True` or for proxy:
E               
E               `litellm_settings:
E                drop_params: true`

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.58.2

Twitter / LinkedIn details

No response

@DanielChico DanielChico added the bug Something isn't working label Jan 15, 2025
@krrishdholakia
Copy link
Contributor

Just fixed with this PR - 05f476d

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

2 participants