Skip to content

fix(chatcompletion): support file_url in FileContentPart#655

Open
fengfeng-zi wants to merge 1 commit into
openai:mainfrom
fengfeng-zi:fix/file-content-part-file-url-588
Open

fix(chatcompletion): support file_url in FileContentPart#655
fengfeng-zi wants to merge 1 commit into
openai:mainfrom
fengfeng-zi:fix/file-content-part-file-url-588

Conversation

@fengfeng-zi
Copy link
Copy Markdown

Summary

  • add ile_url to ChatCompletionContentPartFileFileParam
  • allow FileContentPart to represent URL-based file inputs documented for chat completions
  • add a focused test that verifies ile_url is serialized in the content part payload

Testing

  • unable to run go test in this environment because go is not installed (go command not found)

Closes #588

@fengfeng-zi fengfeng-zi requested a review from a team as a code owner May 3, 2026 07:50
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.

openai.FileContentPart does not support file_url

1 participant