Merge pull request #735 from alfadb/fix/count-tokens-default-ignore

fix(ops): 默认忽略 count_tokens 404 错误
This commit is contained in:
Wesley Liddick 2026-03-03 21:02:46 +08:00 committed by GitHub
commit 60350d298a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -368,7 +368,7 @@ func defaultOpsAdvancedSettings() *OpsAdvancedSettings {
Aggregation: OpsAggregationSettings{
AggregationEnabled: false,
},
IgnoreCountTokensErrors: false,
IgnoreCountTokensErrors: true, // count_tokens 404 是预期行为,默认忽略
IgnoreContextCanceled: true, // Default to true - client disconnects are not errors
IgnoreNoAvailableAccounts: false, // Default to false - this is a real routing issue
AutoRefreshEnabled: false,