Skip to content

Commit 6c9e08f

Browse files
committed
cleanup
1 parent 503290f commit 6c9e08f

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

sentry_sdk/consts.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,6 @@ class SPANDATA:
485485
Example: "COMPLETE"
486486
"""
487487

488-
GEN_AI_RESPONSE_FORMAT = "gen_ai.response.format"
489-
"""
490-
For an AI model call, the format of the response
491-
"""
492-
493488
GEN_AI_RESPONSE_ID = "gen_ai.response.id"
494489
"""
495490
Unique identifier for the completion.
@@ -544,12 +539,6 @@ class SPANDATA:
544539
Example: [{role: "system", "content: "Generate a random number."}, {"role": "user", "content": [{"text": "Generate a random number between 0 and 10.", "type": "text"}]}]
545540
"""
546541

547-
GEN_AI_REQUEST_METADATA = "gen_ai.request.metadata"
548-
"""
549-
The metadata passed to the model.
550-
Example: {"tag1": "value1", "tag2": "value2"}
551-
"""
552-
553542
GEN_AI_REQUEST_MODEL = "gen_ai.request.model"
554543
"""
555544
The model identifier being used for the request.
@@ -568,12 +557,6 @@ class SPANDATA:
568557
Example: "1234567890"
569558
"""
570559

571-
GEN_AI_REQUEST_TAGS = "gen_ai.request.tags"
572-
"""
573-
The tags passed to the model.
574-
Example: {"tag1": "value1", "tag2": "value2"}
575-
"""
576-
577560
GEN_AI_REQUEST_TEMPERATURE = "gen_ai.request.temperature"
578561
"""
579562
The temperature parameter used to control randomness in the output.

sentry_sdk/integrations/langchain.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@
4949
"function_call": SPANDATA.GEN_AI_RESPONSE_TOOL_CALLS,
5050
"max_tokens": SPANDATA.GEN_AI_REQUEST_MAX_TOKENS,
5151
"presence_penalty": SPANDATA.GEN_AI_REQUEST_PRESENCE_PENALTY,
52-
"response_format": SPANDATA.GEN_AI_RESPONSE_FORMAT,
53-
"tags": SPANDATA.GEN_AI_REQUEST_TAGS,
5452
"temperature": SPANDATA.GEN_AI_REQUEST_TEMPERATURE,
5553
"tool_calls": SPANDATA.GEN_AI_RESPONSE_TOOL_CALLS,
5654
"tools": SPANDATA.GEN_AI_REQUEST_AVAILABLE_TOOLS,

0 commit comments

Comments
 (0)