Skip to content

fix(tracing): use llmops_ prefix for localhost URLs in LlmOpsHttpExporter#1277

Open
mjnovice wants to merge 3 commits intomainfrom
fix/llmops-exporter-localhost-base-url
Open

fix(tracing): use llmops_ prefix for localhost URLs in LlmOpsHttpExporter#1277
mjnovice wants to merge 3 commits intomainfrom
fix/llmops-exporter-localhost-base-url

Conversation

@mjnovice
Copy link
Contributor

@mjnovice mjnovice commented Feb 6, 2026

Summary

  • Moved the service path prefix into _get_base_url() so it returns {url}/llmops_ for localhost URLs and {url}/llmopstenant_ for all other URLs
  • Updated _build_url() to no longer hardcode the llmopstenant_ prefix (it's now part of base_url)
  • Added a localhost test case to test_get_base_url and updated existing assertions

Test plan

  • All 1917 existing tests pass
  • New test case verifies localhost URL gets llmops_ prefix
  • Existing tests updated to reflect llmopstenant_ now being part of base_url

🤖 Generated with Claude Code

…rter

Move the service prefix into _get_base_url() so that localhost URLs use
/llmops_ while all other URLs use /llmopstenant_. This allows local
development to route to the correct service endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Feb 6, 2026
mjnovice and others added 2 commits February 6, 2026 15:15
…porter

When UIPATH_TRACE_BASE_URL is set, use it directly as the base URL
instead of deriving it from UIPATH_URL. This allows full control over
the trace endpoint without relying on the localhost/llmops_ heuristic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Simplify _get_base_url to only two paths: use UIPATH_TRACE_BASE_URL
verbatim if set, otherwise derive from UIPATH_URL with llmopstenant_
appended. The localhost/llmops_ heuristic is no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants