Skip to content

Commit 10b9e27

Browse files
doraemonlovewangjiaju
andauthored
chore: change tool span gen_ai.system to Ark. (#353)
Co-authored-by: wangjiaju <[email protected]>
1 parent 28ac676 commit 10b9e27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

veadk/tools/builtin_tools/image_edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def add_span_attributes(
254254
span.set_attribute("cozeloop.report.source", "veadk")
255255

256256
# llm attributes
257-
span.set_attribute("gen_ai.system", "openai")
257+
span.set_attribute("gen_ai.system", "Ark")
258258
span.set_attribute("gen_ai.operation.name", "chat")
259259
if request_model:
260260
span.set_attribute("gen_ai.request.model", request_model)

veadk/tools/builtin_tools/image_generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def add_span_attributes(
399399
span.set_attribute("cozeloop.report.source", "veadk")
400400

401401
# llm attributes
402-
span.set_attribute("gen_ai.system", "openai")
402+
span.set_attribute("gen_ai.system", "Ark")
403403
span.set_attribute("gen_ai.operation.name", "chat")
404404
if request_model:
405405
span.set_attribute("gen_ai.request.model", request_model)

veadk/tools/builtin_tools/video_generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def add_span_attributes(
342342
span.set_attribute("cozeloop.report.source", "veadk")
343343

344344
# llm attributes
345-
span.set_attribute("gen_ai.system", "openai")
345+
span.set_attribute("gen_ai.system", "Ark")
346346
span.set_attribute("gen_ai.operation.name", "chat")
347347
if request_model:
348348
span.set_attribute("gen_ai.request.model", request_model)

0 commit comments

Comments
 (0)