mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-21 17:13:00 -05:00
[GH-ISSUE #15258] feat: 我想知道在open webui如何接入自己的fastapi接口 #104507
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @476820505 on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15258
Check Existing Issues
Problem Description
因为我的接口是需要填入query这个参数的,也就是说我在定义tools的时候使用了python的request请求了我的api接口,但是为什么模型在做推理回复的时候,没有调用该tools呢
Desired Solution you'd like
因为我的接口是需要填入query这个参数的,也就是说我在定义tools的时候使用了python的request请求了我的api接口,但是为什么模型在做推理回复的时候,没有调用该tools呢
Alternatives Considered
No response
Additional Context
No response
@jackthgu commented on GitHub (Jun 25, 2025):
您好,需要尽可能详细的信息,以便 LLM 能够正确读取。
在第一次连接到 tools 服务器,或者点击保存(Save)按钮时,OI 会从服务器获取接口相关的信息。
以下示例希望能对您有所帮助
5336f1f41e/servers/time/main.py (L53)5336f1f41e/servers/time/main.py (L91)