Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
03bb4bcd
Commit
03bb4bcd
authored
Jun 22, 2024
by
Timothy J. Baek
Browse files
refac: tool specs
parent
2d795cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
backend/utils/tools.py
backend/utils/tools.py
+1
-0
No files found.
backend/utils/tools.py
View file @
03bb4bcd
...
@@ -67,6 +67,7 @@ def get_tools_specs(tools) -> List[dict]:
...
@@ -67,6 +67,7 @@ def get_tools_specs(tools) -> List[dict]:
function
function
).
parameters
.
items
()
).
parameters
.
items
()
if
param
.
default
is
param
.
empty
if
param
.
default
is
param
.
empty
and
not
(
name
.
startswith
(
"__"
)
and
name
.
endswith
(
"__"
))
],
],
},
},
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment