We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d54de92 commit 23026f8Copy full SHA for 23026f8
ddtrace/llmobs/_integrations/vllm.py
@@ -153,7 +153,11 @@ def _llmobs_set_tags(
153
return
154
155
stats = kwargs.get("stats")
156
- ctx = self._build_embedding_context(data, stats) if operation == "embedding" else self._build_completion_context(data, stats)
+ ctx = (
157
+ self._build_embedding_context(data, stats)
158
+ if operation == "embedding"
159
+ else self._build_completion_context(data, stats)
160
+ )
161
ctx[MODEL_NAME] = span.get_tag("vllm.request.model") or ""
162
ctx[MODEL_PROVIDER] = span.get_tag("vllm.request.provider") or ""
163
span._set_ctx_items(ctx)
0 commit comments