mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #16342] [CLOSED] fix: include items property in OpenAPI array parameters for OpenAI function calling #24105
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/16342
Author: @Rain6435
Created: 8/7/2025
Status: ❌ Closed
Base:
main← Head:fix-openapi-array-parameters📝 Commits (2)
bdfcf54fix: prevent backtick removal on Shift+Enter in chat inpute2b5b9afix: include items property in OpenAPI array parameters for OpenAI function calling📊 Changes
2 files changed (+33 additions, -2 deletions)
View changed files
📝
backend/open_webui/utils/tools.py(+7 -1)📝
src/lib/components/common/RichTextInput.svelte(+26 -1)📄 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.