dean
5568423e5b
fix: support snake_case fields in GeminiChatGenerationConfig
2026-01-12 12:23:24 +08:00
Seefs
71460cba15
feat: /v1/chat/completion -> /v1/response ( #2629 )
...
* feat: /v1/chat/completion -> /v1/response
2026-01-11 21:38:07 +08:00
Seefs
336e7a5ba4
fix: gemini request -> openai tool call
2025-12-31 18:09:21 +08:00
CaIon
b5a0c822d2
feat(adaptor): 新适配百炼多种图片生成模型
...
- wan2.6系列生图与编辑,适配多图生成计费
- wan2.5系列生图与编辑
- z-image-turbo生图,适配prompt_extend计费
2025-12-29 23:00:17 +08:00
Seefs
2570788b46
fix: Fix Openrouter test errors and optimize error messages ( #2433 )
...
* fix: Refine openrouter error
* fix: Refine openrouter error
* fix: openrouter test max_output_token
* fix: optimize messages
* fix: maxToken unified to 16
* fix: codex系列模型使用 responses接口
* fix: codex系列模型使用 responses接口
* fix: 状态码非200打印错误信息
* fix: 日志里没有报错的响应体
2025-12-26 13:58:44 +08:00
Seefs
3eee8c7a21
fix: 支持传入system_instruction和systemInstruction两种风格系统提示词参数名
2025-12-16 13:08:58 +08:00
CaIon
be2a863b9b
feat(audio): enhance audio request handling with token type detection and streaming support
2025-12-13 17:24:23 +08:00
CaIon
a1299114a6
refactor(error): replace dto.OpenAIError with types.OpenAIError for consistency
2025-12-13 16:43:57 +08:00
Calcium-Ion
0cfaf8c625
Merge pull request #2359 from seefs001/fix/qwen-chat-args
...
fix: qwen chat_template_kwargs
2025-12-09 14:01:26 +08:00
Calcium-Ion
4e5c6297cb
Merge pull request #2356 from seefs001/feature/zhipiu_4v_image
...
feat: zhipu 4v image generations
2025-12-09 14:00:20 +08:00
Seefs
41b1499d41
fix: qwen chat_template_kwargs
2025-12-03 00:47:40 +08:00
Seefs
634651b463
feat: zhipu v4 image generations
2025-12-02 22:56:58 +08:00
Seefs
607f7305b7
feat: gemini 3 thinking level gemini-3-pro-preview-high
2025-12-01 16:40:46 +08:00
Seefs
c074ed2eb5
Revert "OAI生图接口支持gemini 3 pro image preview"
2025-11-30 18:49:18 +08:00
Calcium-Ion
e1223e579d
Merge pull request #2304 from seefs001/fix/claude-missing-field
...
fix: claude request missing field
2025-11-30 16:22:35 +08:00
feitianbubu
2d6f8fb58f
feat: gemini-3-pro-image-preview add extra param
2025-11-26 12:03:24 +08:00
Seefs
8daea6e7ee
fix: claude request missing field
2025-11-26 02:06:25 +08:00
Seefs
5901f8ccf1
feat: gemini thinking_level && snake params
2025-11-22 16:30:46 +08:00
Seefs
cf27747518
Merge pull request #2224 from jarvis-u/main
...
fix: 错误解析responses api中的input字段
2025-11-22 00:31:24 +08:00
Seefs
a74ab98cea
feat: MediaResolution && VideoMetadata
2025-11-19 13:42:32 +08:00
Seefs
89a6303032
feat: gemini-3-pro
2025-11-19 01:46:51 +08:00
Seefs
9009a572fe
feat: support gpt-5.1 prompt_cache_retention ( #2228 )
2025-11-15 13:32:24 +08:00
wujiacheng
733e3870e2
fix: 错误解析responses api中的input字段
2025-11-14 09:58:39 +08:00
Seefs
de2501241f
add custom tool ( #2157 )
2025-11-06 20:18:25 +08:00
Seefs
e1b9317531
feat: claude 1h cache ( #2155 )
...
* feat: claude 1h cache
* feat: claude 1h cache
* fix price
2025-11-04 00:20:50 +08:00
Seefs
a98e207ef7
feat: add ali wan video ( #2141 )
...
* feat: add ali wan video
* refactor: use same UnmarshalBodyReusable
* feat: enhance request body metadata
* feat: opt wan convertToOpenAIVideo
* feat: add wan support other param via json metadata
* refactor: remove unused code
* fix ali
---------
Co-authored-by: feitianbubu <feitianbubu@qq.com >
2025-10-31 16:51:05 +08:00
feitianbubu
a4c46e999e
feat: doubao-seedream-4-0-250828 image to image
2025-10-23 21:19:32 +08:00
feitianbubu
412b935a4d
feat: AudioRequest add metadata support custom params
2025-10-18 01:48:36 +08:00
feitianbubu
6de10991d7
feat: sync latest openai speech struct
...
https://platform.openai.com/docs/api-reference/audio/createSpeech
2025-10-18 01:48:36 +08:00
CaIon
5a10552d69
fix: gemini embedding
2025-10-15 21:48:36 +08:00
CaIon
1fdb54651b
feat: 临时兼容aws使用链接媒体
2025-10-15 18:21:19 +08:00
CaIon
59caea8f34
feat: support aws bedrock api-keys-use
2025-10-15 17:29:10 +08:00
CaIon
5069482d22
refactor: update ConvertToOpenAIVideo method to return byte array and improve error handling
2025-10-14 23:03:17 +08:00
yanggh
b6f352735e
fix(convert): 修复 OpenAI 转 Claude 流时 thinking 块的格式问题
...
将 `ClaudeMediaMessage.Thinking` 的类型从 `string` 修改为 `*string`,以解决 `omitempty` 导致 `"thinking": ""` 字段在 JSON 序列化时被忽略的问题。
同时更新了 `service/convert.go` 和 `relay/channel/claude/relay-claude.go` 中的相关逻辑,以兼容新的指针类型,确保生成的 Claude 事件流符合官方规范。
2025-10-13 19:32:17 +08:00
Xyfacai
b7a07e1ef7
refactor: Openai video model 移动到 dto
2025-10-13 11:45:45 +08:00
Seefs
5010f2d004
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
Seefs
1d32327d04
feat: pplx channel
2025-10-10 16:12:15 +08:00
feitianbubu
1d1759aaae
feat: add sora video submit task
2025-10-09 15:00:02 +08:00
Sh1n3zZ
56a6c24722
feat: gemini imagen quality value
2025-10-09 01:16:04 +08:00
CaIon
35105b3da5
feat: update Gemini API response handling to include block reason and improve error reporting
2025-10-05 19:33:47 +08:00
CaIon
7b5d406785
refactor(openai_image): replace json.Marshal with common.Marshal for improved serialization #1961
2025-10-03 12:44:33 +08:00
CaIon
ca3304a841
✨ feat(gemini): add imageConfig field to GeminiChatRequest for flexible image configuration
2025-10-03 12:26:17 +08:00
Seefs
7f6c814ac4
Merge pull request #1948 from RedwindA/feat/gotify
...
feat: Add Gotify Notification Channel for Quota Alerts
2025-10-02 14:11:20 +08:00
Seefs
d075fbee23
fix: missing field & field control
2025-10-02 00:14:35 +08:00
RedwindA
98050ee6e9
feat: add Gotify notification option for quota alerts
2025-10-01 19:15:00 +08:00
Seefs
a7f6065f42
feat: claude context editing
2025-09-30 09:22:40 +08:00
Seefs
343d8091fc
Merge branch 'main-upstream' into fix/volcengine_default_baseurl
...
# Conflicts:
# main.go
2025-09-29 12:08:52 +08:00
CaIon
6682842cbb
feat: enhance OpenRouter enterprise support with new settings and response handling
2025-09-28 15:23:27 +08:00
Seefs
23c1bd472e
feat: gemini urlContext
2025-09-27 16:16:34 +08:00
Seefs
53513cbe1d
fix: jsonRaw
2025-09-27 00:33:05 +08:00