Skip to content

feat(server): Add tool call support to WebUI (LLama Server) #13501

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

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

samolego
Copy link

@samolego samolego commented May 13, 2025

Make sure to read the contributing guidelines before submitting a PR

Hi there!
I added tool calling support for the frontend interface to llama-server. There are still some things to fix, but I'm opening this early to get some feedback.

Screenshot 2025-05-13 at 19-39-13 🦙 llama cpp - chat

Currently there's only 1 tool added (basic javascript interpreter with eval), but the code structure supports expanding in the future.

export const BASE_URL = new URL('.', document.baseURI).href
.toString()
.replace(/\/$/, '');
export const BASE_URL = 'http://127.0.0.1:8080';
Copy link

Choose a reason for hiding this comment

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

Are you sure you meant to commit this change?

Copy link
Author

Choose a reason for hiding this comment

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

Not intended. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants