mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #16343] [CLOSED] fix: include items property in OpenAPI array parameters for OpenAI function calling #24106
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16343
Author: @Rain6435
Created: 8/7/2025
Status: ❌ Closed
Base:
main← Head:fix-openapi-array-parameters-clean📝 Commits (10+)
58cbf5aUpdate for Polish translation5c59c50more prgoress on s3 vectorfa3c3c2i18n: Update & Improve & Fix zh-CN8f655eci18n: Fix zh-CNe95a93dMerge pull request #15894 from qingchunnh/Update_zh-CN-257211e2ae1dMerge pull request #15888 from macnow/patch-2a26607crefac: stylingd8b80carefac/fix: remove insecure arg for otel http exporter14c6f8badded a check for admins to avoid 404 errors on feedbacks get and post1ff2ad0ci fix📊 Changes
219 files changed (+9226 additions, -3328 deletions)
View changed files
📝
.gitignore(+4 -1)📝
README.md(+2 -0)📝
backend/dev.sh(+1 -1)📝
backend/open_webui/config.py(+96 -10)📝
backend/open_webui/env.py(+51 -1)📝
backend/open_webui/main.py(+42 -7)📝
backend/open_webui/models/chats.py(+45 -3)📝
backend/open_webui/models/memories.py(+13 -4)📝
backend/open_webui/models/models.py(+44 -0)📝
backend/open_webui/models/users.py(+4 -0)📝
backend/open_webui/retrieval/loaders/datalab_marker.py(+95 -68)📝
backend/open_webui/retrieval/loaders/main.py(+8 -2)📝
backend/open_webui/retrieval/utils.py(+5 -1)📝
backend/open_webui/retrieval/vector/dbs/chroma.py(+4 -2)📝
backend/open_webui/retrieval/vector/dbs/elasticsearch.py(+4 -2)📝
backend/open_webui/retrieval/vector/dbs/milvus.py(+4 -2)📝
backend/open_webui/retrieval/vector/dbs/opensearch.py(+3 -2)➕
backend/open_webui/retrieval/vector/dbs/oracle23ai.py(+888 -0)📝
backend/open_webui/retrieval/vector/dbs/pgvector.py(+5 -3)➕
backend/open_webui/retrieval/vector/dbs/s3vector.py(+745 -0)...and 80 more files
📄 Description
Summary
Fixes OpenAPI array parameter conversion for OpenAI function calling by ensuring the 'items' property is
included in generated function schemas.
Problem
Solution
convert_openapi_to_tool_payload()inbackend/open_webui/utils/tools.pyTest Plan
Fixes #14115
���� This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.