Skip to content

Commit e1adf5e

Browse files
mjnoviceclaude
andcommitted
fix: use llmopstenant_ gateway prefix and require field settings
- LLMOps endpoints use llmopstenant_ prefix (not llmops_) through the platform gateway — llmops_ returns 302, llmopstenant_ routes correctly - SearchField.settings is now required (default FieldSettings()) per LLMOps API contract which requires the settings field on each field - Fixed E2E test feedback endpoint to use llmopstenant_ prefix E2E results: 5 passed, 1 skipped (ingest skipped because synthetic trace/span IDs don't exist in LLMOps trace store — needs real agent trace for full lifecycle test) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bc58899 commit e1adf5e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/uipath-platform/src/uipath/platform/memory/_memory_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
)
2929

3030
_ECS_BASE = "/ecs_/v2/episodicmemories"
31-
_LLMOPS_AGENT_BASE = "/llmops_/api/Agent/memory"
32-
_LLMOPS_MEMORY_BASE = "/llmops_/api/Memory"
31+
_LLMOPS_AGENT_BASE = "/llmopstenant_/api/Agent/memory"
32+
_LLMOPS_MEMORY_BASE = "/llmopstenant_/api/Memory"
3333

3434

3535
class MemoryService(FolderContext, BaseService):

packages/uipath-platform/src/uipath/platform/memory/memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ class FieldSettings(BaseModel):
5656

5757

5858
class SearchField(BaseModel):
59-
"""A field in a search request, with optional per-field settings."""
59+
"""A field in a search request, with per-field settings."""
6060

6161
model_config = ConfigDict(populate_by_name=True)
6262

6363
key_path: List[str] = Field(..., alias="keyPath", min_length=1)
6464
value: str = Field(..., alias="value", min_length=1)
65-
settings: Optional[FieldSettings] = Field(None, alias="settings")
65+
settings: FieldSettings = Field(default_factory=FieldSettings, alias="settings")
6666

6767

6868
class SearchSettings(BaseModel):

packages/uipath-platform/tests/services/test_memory_service_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_ingest_and_search(
189189
timeout=30.0,
190190
) as client:
191191
resp = client.post(
192-
"/llmops_/api/Agent/feedback",
192+
"/llmopstenant_/api/Agent/feedback",
193193
json=feedback_payload,
194194
)
195195
# If feedback creation fails (e.g. LLMOps not available),

0 commit comments

Comments
 (0)