Skip to content

Commit 324e89f

Browse files
keiserjbCopilot
andauthored
add gpt-5 support (#53)
* add milvus, composer update * feat: Update to openai-php/client v0.10.1 with GPT-5 support and add openai_moderation submodule\n\n- Upgraded dependency to v0.10.1 to enable GPT-5 support.\n- Introduced a new submodule for enhanced moderation capabilities.\n- Updated to reflect the new PHP version requirement (^8.2). * remove typed properties * Update modules/openai_tts/openai_tts.module Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/openai_chatgpt/openai_chatgpt.module Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update includes/OpenAIApi.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/openai_chatgpt/openai_chatgpt.module Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * removed variable_get * debug config key * setting for debug mode * Refactor validation logic in openai_dalle.module to remove #validated => TRUE and implement explicit validation for dynamic fields * Update includes/OpenAIApi.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add public wrapper for minCapForModel and update openai_chatgpt.module to use it * Refactor validation logic in openai_dalle.module for dynamic fields and improve base64 detection * fix validation again * gpt-image-1 support * remove dpm Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * use translation Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * add symphony/http-foundation and nyholm/psr7 dependencies --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7ae784c commit 324e89f

File tree

538 files changed

+32687
-14850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

538 files changed

+32687
-14850
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=8.1",
16-
"openai-php/client": ">=v0.7.8",
15+
"php": "^8.2",
16+
"openai-php/client": ">=v0.10.1",
1717
"guzzlehttp/guzzle": "^7.9",
1818
"guzzlehttp/psr7": "^2.7",
19-
"symfony/http-client": "^6.4",
19+
"symfony/http-foundation": "^6.4",
2020
"nyholm/psr7": "^1.8"
2121
},
2222
"config": {
2323
"platform": {
24-
"php": "8.1"
24+
"php": "8.2"
2525
},
2626
"allow-plugins": {
2727
"php-http/discovery": true,

0 commit comments

Comments
 (0)