fix(ai-statistics): use RuleAppend as default for streaming answer extraction (#3505)这个

This commit is contained in:
澄潭
2026-02-14 13:58:55 +08:00
committed by GitHub
parent 67e2913f3d
commit 6f8ef2ff69
2 changed files with 142 additions and 0 deletions

View File

@@ -153,10 +153,12 @@ func getDefaultAttributes() []Attribute {
{
Key: BuiltinAnswerKey,
ApplyToLog: true,
Rule: RuleAppend, // Streaming responses need to append content from all chunks
},
{
Key: BuiltinReasoningKey,
ApplyToLog: true,
Rule: RuleAppend, // Streaming responses need to append content from all chunks
},
{
Key: BuiltinToolCallsKey,