Commit graph

52 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
f890fe6901 enh: allow plaintext for external tool servers 2025-08-11 17:36:36 +04:00
Juan Calderon-Perez
d2f2d42e09 Format python code 2025-08-08 10:09:31 -04:00
Tim Jaeryang Baek
67dcef5e9a
Merge pull request #16344 from Rain6435/fix-openapi-array-parameters
fix: include items property in OpenAPI array parameters
  for OpenAI function calling
2025-08-08 12:12:28 +04:00
Rain6435
30540cb40e fix: include items property in OpenAPI array parameters for OpenAI function calling
Resolves issue where OpenAPI specs with array query parameters were generating
  invalid OpenAI function schemas missing the required 'items' property, causing
  400 Bad Request errors from OpenAI.

  The fix ensures that when converting OpenAPI parameter schemas to OpenAI function
  schemas, array parameters properly include their 'items' property definition.

  Fixes open-webui/open-webui#14115
2025-08-07 01:21:22 -04:00
Timothy Jaeryang Baek
00084c6ca6 refac/fix: tool payload 2025-08-02 19:36:46 +04:00
Timothy Jaeryang Baek
446f4ee5a8 refac 2025-08-02 13:59:07 +04:00
Timothy Jaeryang Baek
6b34b2c946 refac 2025-07-31 16:47:02 +04:00
Konosuke Kachi
0a8f482264 fix: properly handle full URLs in form_data.path 2025-07-28 23:34:23 +09:00
Timothy Jaeryang Baek
947b77db24 refac 2025-06-24 10:36:33 +04:00
Adam Tao
809d91a3df fix(tools): not all arguments converted during string formatting
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-06-11 21:36:36 +08:00
Timothy Jaeryang Baek
2c7ccc69fe enh: allow custom openapi json url 2025-05-27 00:20:47 +04:00
Timothy Jaeryang Baek
a38e44e870 enh: external tool server custom name/description support 2025-05-27 00:10:33 +04:00
Timothy Jaeryang Baek
787987d2f0 refac/fix: optional tool param type 2025-05-22 12:41:00 +04:00
hwzhuhao
fb2950201a refactor: replace print statements with logging 2025-05-12 22:18:47 +08:00
Timothy Jaeryang Baek
4cfb99248d chore: format 2025-05-03 23:48:24 +04:00
Tim Jaeryang Baek
f3b38e9777
Merge pull request #13372 from therealmichaelberna/main
**fix** convert_function_to_pydantic_model returning empty descriptions
2025-04-30 13:36:22 -07:00
Michael Berna
4a6b964a51
Fixed convert_function_to_pydantic_model
convert_function_to_pydantic_model was returning empty function descriptions. I have renamed the variables more precisely which helps to avoid confusion and also resolved this issue which was caused by a variable naming conflict.
2025-04-30 14:22:38 -04:00
Timothy Jaeryang Baek
463d7fb628 refac: openapi to tool spec 2025-04-19 03:46:06 -07:00
Tim Jaeryang Baek
477ac7de86
Merge pull request #12968 from alpha-pet/feat-openapi-parameter-description
feat: support OpenAPI parameter description and enum values in tool spec
2025-04-17 22:02:50 -07:00
Timothy Jaeryang Baek
824238a620 enh: AIOHTTP_CLIENT_SESSION_TOOL_SERVER_SSL 2025-04-17 22:02:16 -07:00
Thomas Rehn
3dcbf1acf5 feat: support OpenAPI parameter description and enum values in tool spec 2025-04-17 15:48:55 +02:00
Timothy Jaeryang Baek
6d63337ee9 refac 2025-04-10 21:22:14 -07:00
Timothy Jaeryang Baek
a47a958edd refac: rename functions 2025-04-10 19:43:26 -07:00
Timothy Jaeryang Baek
53df5d3946 refac: rename hard to understand cryptic function names 2025-04-10 19:41:17 -07:00
Timothy Jaeryang Baek
fb0ee1329d enh: tool server data timeout 2025-04-10 10:23:14 -07:00
Tim Jaeryang Baek
a3e477e100
Merge pull request #12602 from alpha-pet/fix-tool-server-indexing-mismatch
fix: mismatch between TOOL_SERVERS / TOOL_SERVER_CONNECTIONS indexing
2025-04-10 09:06:30 -07:00
Thomas Rehn
81af20aa9b refac: use logging instead of print 2025-04-08 15:16:55 +02:00
Thomas Rehn
27e8c6fce4 feat: add support for OpenAPI spec in YAML format 2025-04-08 15:16:52 +02:00
Thomas Rehn
f5b2867e45 fix: mismatch between TOOL_SERVERS / TOOL_SERVER_CONNECTIONS indexing 2025-04-08 14:08:08 +02:00
Timothy Jaeryang Baek
9ea6cea0ba refac 2025-04-05 14:31:22 -07:00
Timothy Jaeryang Baek
ae484e8edf refac 2025-04-05 05:45:32 -06:00
Timothy Jaeryang Baek
56dc7c5640 refac 2025-04-05 05:38:46 -06:00
Timothy Jaeryang Baek
e570a98bf7 refac: substandard codebase overhauled 2025-04-05 05:31:22 -06:00
Timothy Jaeryang Baek
93bb77ede3 refac 2025-04-05 05:03:15 -06:00
Timothy Jaeryang Baek
66db2e1515 refac: tools removed UNNECESSARY CODE 2025-04-05 04:59:11 -06:00
Timothy Jaeryang Baek
c9e9ce931b refac 2025-04-05 04:49:07 -06:00
Timothy Jaeryang Baek
9747a0e1f1 refac: tool servers 2025-04-05 04:40:01 -06:00
Timothy Jaeryang Baek
0c0505e1cd refac 2025-04-05 04:05:52 -06:00
Timothy Jaeryang Baek
d9b6d78d5c feat: external tool server support frontend 2025-03-27 01:38:35 -07:00
Timothy Jaeryang Baek
5a7efad59c refac: tools 2025-03-26 00:40:24 -07:00
Timothy Jaeryang Baek
c5a9cfacf1 refac 2025-02-04 21:20:03 -08:00
Timothy Jaeryang Baek
23df351239 refac: ollama tool calling support
Co-Authored-By: smonux <85928277+smonux@users.noreply.github.com>
2025-02-04 19:22:08 -08:00
Timothy Jaeryang Baek
4311bb7b99 wip 2024-12-12 20:22:17 -08:00
Timothy Jaeryang Baek
3bda1a8b88 wip 2024-12-11 18:36:59 -08:00
Timothy Jaeryang Baek
d3d161f723 wip 2024-12-10 00:54:13 -08:00
Pierre Glandon
b2d3bfa3a8 feat: add description in Tool 2024-11-23 11:22:12 +01:00
Michael Poluektov
b4e7957a00 docstring quickfix 2024-11-22 20:51:48 +00:00
Michael Poluektov
c03bfd141e fix optional args not present 2024-11-21 17:41:35 +00:00
Michael Poluektov
70838148e7 fix tools metadata 2024-11-21 17:19:56 +00:00
Timothy Jaeryang Baek
b562067e91 refac: tools 2024-11-16 18:31:13 -08:00