Skip to content

Conversation

@keiserjb
Copy link
Collaborator

@keiserjb keiserjb commented Dec 4, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 20:53
@keiserjb
Copy link
Collaborator Author

keiserjb commented Dec 4, 2025

I don't need these, maybe I should just ignore it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the openai-php/client vendor library from v0.16.1 to v0.17.1, introducing support for OpenAI's Conversations API, enhancing error handling flexibility, and improving SDK autoloader management for Backdrop CMS integration.

Key Changes

  • Vendor library upgrade: openai-php/client updated from v0.16.1 to v0.17.1 with new Conversations API support
  • Enhanced SDK loading: Autoloader now prefers Composer Manager when available, with runtime diagnostics showing which source loaded the SDK
  • API improvements: Added support for new output types (LocalShellCall, CustomToolCall, McpApprovalResponse), removed global OpenAI-Beta header in favor of per-request headers for Assistants API

Reviewed changes

Copilot reviewed 19 out of 79 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vendor/openai-php/client/src/Transporters/HttpTransporter.php Made headers mutable and added addHeader() method for dynamic header management
vendor/openai-php/client/src/Exceptions/ErrorException.php Enhanced to accept string or array error responses, improving error handling robustness
vendor/openai-php/client/src/Resources/Conversations.php New Conversations resource for managing conversation state across Response API calls
vendor/openai-php/client/src/Resources/ConversationsItems.php New resource for managing items within conversations
vendor/openai-php/client/src/Client.php Added conversations() method to main client interface
vendor/openai-php/client/src/Contracts/ClientContract.php Added deprecation notices for Assistants/Threads APIs (sunset August 26, 2026)
vendor/openai-php/client/src/Resources/Assistants.php Changed to add OpenAI-Beta header per-request instead of globally
vendor/openai-php/client/src/Resources/Threads*.php Changed to add OpenAI-Beta header per-request for all thread operations
includes/OpenAIApi.php Updated autoloader logic to prefer Composer Manager, with SDK source tracking
modules/openai_embeddings/includes/VectorClientBase.php Updated autoloader logic to prefer Composer Manager, with SDK source tracking
openai.module Added openai_get_sdk_source() helper for runtime diagnostics
openai.install Enhanced requirements check with SDK version and source reporting
openai.info Removed trailing newline
.github/copilot-instructions.md Added comprehensive project documentation for GitHub Copilot
Multiple .info files Updated version metadata to 1.x-1.0.7 with new timestamp

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