feat: Make function calling work like code interpreter #5159

Closed
opened 2025-11-11 16:13:29 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @funnycups on GitHub (May 13, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Currently, function calling will transfer tools to either model itself, which needs APIs or models support native function calling, or external model, which can hardly achieve an expected result.

Desired Solution you'd like

Can we add one "compatibility" option in model settings, making all function calling work just like the code interpreter? That is, transfer prompt about "Tools available" directly to models.

If so, for some APIs or models that do not support native function calling, they can smoothly work with tools. It will definitely better than relying on external model for most cases.

Alternatives Considered

No response

Additional Context

No response

Originally created by @funnycups on GitHub (May 13, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Currently, function calling will transfer tools to either model itself, which needs APIs or models support native function calling, or external model, which can hardly achieve an expected result. ### Desired Solution you'd like Can we add one "compatibility" option in model settings, making all function calling work just like the code interpreter? That is, transfer prompt about "Tools available" directly to models. If so, for some APIs or models that do not support native function calling, they can smoothly work with tools. It will definitely better than relying on external model for most cases. ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5159