Skip to content

fix(mcp): align OpenAI file parameter schema - #185

Merged
uvwt merged 1 commit into
mainfrom
fix/openai-file-publish-schema-20261003
Oct 3, 2026
Merged

uvwt merged 1 commit into
mainfrom
fix/openai-file-publish-schema-20261003

Conversation

@uvwt

@uvwt uvwt commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • expose file_publish.file as an open object instead of string/binary
  • keep path as the normal local-path entrypoint
  • update OpenAI file metadata regression test

Why

OpenAI now requires parameters referenced by openai/fileParams to resolve to an object or an array of objects.

Validation

  • go test ./internal/tool/media ./internal/mcp ./internal/app
  • go test ./...
  • git diff --check

@uvwt
uvwt force-pushed the fix/openai-file-publish-schema-20261003 branch from d6eae05 to d14f240 Compare October 3, 2026 09:19
@uvwt
uvwt merged commit 1e1f1ec into main Oct 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant