feat(server): adapt 4o image (#11956)

fix AI-88

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Added support for the new image generation model "gpt-image-1" in both backend and frontend.
  - Updated available prompt options to include "gpt-image-1" for image creation actions.

- **Improvements**
  - Set a 5-minute timeout for image generation requests to improve reliability.

- **Tests**
  - Expanded test coverage to validate image generation using the new "gpt-image-1" prompt.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
darkskygit
2025-04-24 09:04:29 +00:00
parent 13b28e2ad8
commit 5d76be6736
7 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
},
"dependencies": {
"@ai-sdk/google": "^1.2.10",
"@ai-sdk/openai": "^1.3.9",
"@ai-sdk/openai": "^1.3.18",
"@ai-sdk/perplexity": "^1.1.6",
"@apollo/server": "^4.11.3",
"@aws-sdk/client-s3": "^3.779.0",