"git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "cab60ef735b2edb900f8352d6246cbbe7ed8a205"
Unverified Commit 60350d29 authored by Wesley Liddick's avatar Wesley Liddick Committed by GitHub
Browse files

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

fix(ops): 默认忽略 count_tokens 404 错误
parents 838dad87 832b0185
...@@ -368,7 +368,7 @@ func defaultOpsAdvancedSettings() *OpsAdvancedSettings { ...@@ -368,7 +368,7 @@ func defaultOpsAdvancedSettings() *OpsAdvancedSettings {
Aggregation: OpsAggregationSettings{ Aggregation: OpsAggregationSettings{
AggregationEnabled: false, AggregationEnabled: false,
}, },
IgnoreCountTokensErrors: false, IgnoreCountTokensErrors: true, // count_tokens 404 是预期行为,默认忽略
IgnoreContextCanceled: true, // Default to true - client disconnects are not errors IgnoreContextCanceled: true, // Default to true - client disconnects are not errors
IgnoreNoAvailableAccounts: false, // Default to false - this is a real routing issue IgnoreNoAvailableAccounts: false, // Default to false - this is a real routing issue
AutoRefreshEnabled: false, AutoRefreshEnabled: false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment