File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
10
10
AI_PROMPT_ATTRIBUTE ,
11
11
AI_PROMPT_MESSAGES_ATTRIBUTE ,
12
12
AI_PROMPT_TOOLS_ATTRIBUTE ,
13
+ AI_RESPONSE_OBJECT_ATTRIBUTE ,
13
14
AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE ,
14
15
AI_RESPONSE_TEXT_ATTRIBUTE ,
15
16
AI_RESPONSE_TOOL_CALLS_ATTRIBUTE ,
@@ -93,6 +94,7 @@ function processEndedVercelAiSpan(span: SpanJSON): void {
93
94
renameAttributeKey ( attributes , AI_PROMPT_MESSAGES_ATTRIBUTE , 'gen_ai.request.messages' ) ;
94
95
renameAttributeKey ( attributes , AI_RESPONSE_TEXT_ATTRIBUTE , 'gen_ai.response.text' ) ;
95
96
renameAttributeKey ( attributes , AI_RESPONSE_TOOL_CALLS_ATTRIBUTE , 'gen_ai.response.tool_calls' ) ;
97
+ renameAttributeKey ( attributes , AI_RESPONSE_OBJECT_ATTRIBUTE , 'gen_ai.response.object' ) ;
96
98
renameAttributeKey ( attributes , AI_PROMPT_TOOLS_ATTRIBUTE , 'gen_ai.request.available_tools' ) ;
97
99
98
100
renameAttributeKey ( attributes , AI_TOOL_CALL_ARGS_ATTRIBUTE , 'gen_ai.tool.input' ) ;
You can’t perform that action at this time.
0 commit comments