Skip to content

Support ChatGPT Library file tools#19114

Closed
lt-oai wants to merge 1 commit into
mainfrom
lt/integrate-lib-app
Closed

Support ChatGPT Library file tools#19114
lt-oai wants to merge 1 commit into
mainfrom
lt/integrate-lib-app

Conversation

@lt-oai
Copy link
Copy Markdown
Contributor

@lt-oai lt-oai commented Apr 23, 2026

Summary

  • Allow connector_openai_library through Codex apps connector filtering.
  • Support store_in_library file uploads by calling /files/process_upload_stream after the file bytes upload
  • Propagate library_file_id into uploaded MCP file arguments.
  • Add an after mcp_tool call hook to materialize file download link if the materialize_file_download key exists in tool results meta

Companion PR

Tests

  • Tested against production backend
output.mp4
  • cargo fmt
  • cargo test -p codex-api upload_local_file_stores_library_file_with_process_upload_stream
  • cargo test -p codex-mcp codex_apps_tools_cache_filters_disallowed_connectors
  • cargo test -p codex-core build_uploaded_local_argument_value_uploads_local_file_path

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