CaIon
|
5238f279db
feat: record stream interruption reasons via StreamStatus
|
1 ヶ月 前 |
CaIon
|
1fededceb3
feat: refactor token estimation logic
|
5 ヶ月 前 |
Seefs
|
5010f2d004
format: package name -> github.com/QuantumNous/new-api (#2017)
|
7 ヶ月 前 |
RedwindA
|
78f34bd095
fix(openai): add nil checks for web_search streaming to prevent panic
|
7 ヶ月 前 |
creamlike1024
|
f6984272bf
fix: openai responses api 未统计图像生成调用计费
|
8 ヶ月 前 |
HynoR
|
23a82b9646
fix: enhance tool usage parsing with additional nil checks and error logging
|
8 ヶ月 前 |
HynoR
|
ab5351c270
fix: add error handling for missing built-in tools and validate response in stream handler
|
8 ヶ月 前 |
CaIon
|
906f797be5
refactor: replace json.Marshal with common.Marshal for consistency and error handling
|
8 ヶ月 前 |
CaIon
|
b0f86bd82e
fix: update PromptTokens assignment logic in relay_responses
|
8 ヶ月 前 |
CaIon
|
3e5bc637de
fix: Invalid type for 'input[x].summary': expected an array of objects, but got null instead
|
8 ヶ月 前 |
CaIon
|
4e3f008ae9
fix: update token usage calculation
|
9 ヶ月 前 |
CaIon
|
8284cff9b7
refactor: set prompt tokens when not provided in usage
|
9 ヶ月 前 |
CaIon
|
5084a43aa9
refactor: ensure graceful closure of response body in relay responses
|
9 ヶ月 前 |
CaIon
|
97ea8b6560
refactor: Introduce pre-consume quota and unify relay handlers
|
9 ヶ月 前 |
CaIon
|
c4666934be
Revert "feat: update Usage struct to support dynamic token handling with ceil function #1503"
|
9 ヶ月 前 |
CaIon
|
97b8d7de9e
feat: update Usage struct to support dynamic token handling with ceil function #1503
|
9 ヶ月 前 |
creamlike1024
|
02fccf0330
fix: responses 流 cache token 未计费
|
9 ヶ月 前 |
creamlike1024
|
2d226a813e
fix: responses cache token 未计费
|
9 ヶ月 前 |
CaIon
|
563d056ff7
refactor: update error handling to support dynamic error types
|
9 ヶ月 前 |
CaIon
|
2db71673a5
fix: auto ban
|
9 ヶ月 前 |
Xyfacai
|
dfc826a388
fix(response): tools 需要处理的参数很少 使用 map
|
9 ヶ月 前 |
CaIon
|
4a9ca4209a
refactor: Introduce standardized API error
|
10 ヶ月 前 |
CaIon
|
e2c34bdeb9
🐛 fix: refactor JSON unmarshalling across multiple handlers to use UnmarshalJson and UnmarshalJsonStr for consistency
|
10 ヶ月 前 |
CaIon
|
aae9e81c20
🐛 fix: refactor response body handling in multiple relay handlers to utilize IOCopyBytesGracefully
|
10 ヶ月 前 |
CaIon
|
ae586e1be9
✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure
|
10 ヶ月 前 |
CaIon
|
16997a695d
refactor: token counter logic
|
10 ヶ月 前 |
creamlike1024
|
a3fe88772f
feat: 添加 built in tools 计费
|
1 年間 前 |
CaIon
|
e9812b0fd5
feat: implement OpenAI responses handling and streaming support with built-in tool tracking
|
1 年間 前 |