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 {
1010 AI_PROMPT_ATTRIBUTE ,
1111 AI_PROMPT_MESSAGES_ATTRIBUTE ,
1212 AI_PROMPT_TOOLS_ATTRIBUTE ,
13+ AI_RESPONSE_OBJECT_ATTRIBUTE ,
1314 AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE ,
1415 AI_RESPONSE_TEXT_ATTRIBUTE ,
1516 AI_RESPONSE_TOOL_CALLS_ATTRIBUTE ,
@@ -93,6 +94,7 @@ function processEndedVercelAiSpan(span: SpanJSON): void {
9394 renameAttributeKey ( attributes , AI_PROMPT_MESSAGES_ATTRIBUTE , 'gen_ai.request.messages' ) ;
9495 renameAttributeKey ( attributes , AI_RESPONSE_TEXT_ATTRIBUTE , 'gen_ai.response.text' ) ;
9596 renameAttributeKey ( attributes , AI_RESPONSE_TOOL_CALLS_ATTRIBUTE , 'gen_ai.response.tool_calls' ) ;
97+ renameAttributeKey ( attributes , AI_RESPONSE_OBJECT_ATTRIBUTE , 'gen_ai.response.object' ) ;
9698 renameAttributeKey ( attributes , AI_PROMPT_TOOLS_ATTRIBUTE , 'gen_ai.request.available_tools' ) ;
9799
98100 renameAttributeKey ( attributes , AI_TOOL_CALL_ARGS_ATTRIBUTE , 'gen_ai.tool.input' ) ;
You can’t perform that action at this time.
0 commit comments