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 92b7d89 commit 768d035Copy full SHA for 768d035
src/langtrace_python_sdk/utils/llm.py
@@ -162,11 +162,14 @@ def get_llm_url(instance):
162
163
164
def get_base_url(instance):
165
- return (
+ base_url = (
166
str(instance._client._base_url)
167
if hasattr(instance, "_client") and hasattr(instance._client, "_base_url")
168
else ""
169
)
170
+ print(f"Debug - get_base_url called with instance type: {type(instance)}")
171
+ print(f"Debug - get_base_url returning: {base_url}")
172
+ return base_url
173
174
175
def is_streaming(kwargs):
0 commit comments