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

Fix litellm.add_function_to_prompt #8379

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dceluis
Copy link
Contributor

@dceluis dceluis commented Feb 8, 2025

Title

Fix litellm.add_function_to_prompt

Relevant issues

Fixes #6829

Type

🐛 Bug Fix

Changes

I believe this commit had the unintended effect of making add_function_to_prompt only work with ollama provider.

This PR fixes that.

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

Copy link

vercel bot commented Feb 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 3:33am

litellm/utils.py Outdated Show resolved Hide resolved
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.

[Bug]: Setting "add_function_to_prompt" does not bring any effect
2 participants