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]: Setting "add_function_to_prompt" does not bring any effect #6829

Open
haoshan98 opened this issue Nov 20, 2024 · 1 comment · May be fixed by #8379
Open

[Bug]: Setting "add_function_to_prompt" does not bring any effect #6829

haoshan98 opened this issue Nov 20, 2024 · 1 comment · May be fixed by #8379
Labels
bug Something isn't working

Comments

@haoshan98
Copy link
Contributor

What happened?

Setting litellm.add_function_to_prompt = True does not work.

It should work as the documentation stated:
For Models/providers without function calling support, LiteLLM allows you to add the function to the prompt set: litellm.add_function_to_prompt = True

Relevant log output

No response

Twitter / LinkedIn details

No response

@haoshan98 haoshan98 added the bug Something isn't working label Nov 20, 2024
@dceluis
Copy link
Contributor

dceluis commented Feb 8, 2025

I think this change broke the feature. Now only ollama models work.

26aefc7

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

Successfully merging a pull request may close this issue.

2 participants