mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
a677b212d9
commit
0324a1bbdd
1 changed files with 7 additions and 3 deletions
|
|
@ -217,12 +217,16 @@ async def set_tool_servers_config(
|
|||
|
||||
class TerminalServerConnection(BaseModel):
|
||||
id: Optional[str] = ""
|
||||
name: Optional[str] = ""
|
||||
|
||||
enabled: Optional[bool] = True
|
||||
|
||||
url: str
|
||||
path: Optional[str] = "/openapi.json"
|
||||
auth_type: Optional[str] = "bearer"
|
||||
|
||||
key: Optional[str] = ""
|
||||
name: Optional[str] = ""
|
||||
enabled: Optional[bool] = True
|
||||
auth_type: Optional[str] = "bearer"
|
||||
|
||||
config: Optional[dict] = None
|
||||
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue