Skip to content

fix: Allow all file types through to OpenAI - #19

Merged
tiberiuana merged 1 commit into
mainfrom
fix/openai-file-types
Oct 8, 2026
Merged

tiberiuana merged 1 commit into
mainfrom
fix/openai-file-types

Conversation

@tiberiuana

Copy link
Copy Markdown
Contributor

Adds option for the AI SDK to allow all incoming file types through to OpenAI.

Without this option, any file type other than PDF gets this error even though the file is supported by the model API:

error: stream_error: 'file part media type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' functionality not supported.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

QualOps Code Quality Analysis

Status: ⚠️ WARNINGS - Medium severity issues found

Summary

  • Total Issues: 1
  • Critical: 0 🔴
  • High: 0 🟠
  • Medium: 1 🟡
  • Low: 0 🟢
  • Files Analyzed: 2

🟡 Medium Issues (1)

  • src/agent/loop.ts:114 - bug
    Provider-specific option is hardcoded to 'openai' inside a configurable model setup, silently doing nothing for any other provider

📊 Full Report

View detailed report


Powered by QualOps

@tiberiuana
tiberiuana merged commit 2e3f9a1 into main Oct 8, 2026
7 of 8 checks passed
@tiberiuana
tiberiuana deleted the fix/openai-file-types branch October 8, 2026 13:56
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.

2 participants