Skip to content

Conversation

@mathurk
Copy link
Collaborator

@mathurk mathurk commented Jan 20, 2026

Remove the incorrect implementation that wrapped the factory and created temporary files. Instead, read agent settings from schema.metadata which is populated by the low-code agents runtime.

  • Remove ConfigurableRuntimeFactory class and tests
  • Update _get_agent_model() to read from schema.metadata["settings"]["model"]
  • Keep fallback to protocol for backwards compatibility
  • Update uipath-runtime dependency to >=0.3.4 (includes metadata field)
  • Remove temp file cleanup from aexit

PR #1053 introduced a design that broke separation of concerns:

  • Wrapped the factory unnecessarily
  • Deserialized agent.json in the CLI layer
  • Created temporary modified JSON files
  • Required cleanup of temp files

The correct design (per @cristipufu feedback):

  • Low-code repo populates schema.metadata with settings
  • CLI reads settings from schema.metadata
  • No temp files, no factory wrapper, no JSON deserialization in CLI

🤖 Generated with Claude Code

Chibi Vikram and others added 3 commits January 20, 2026 16:40
…adata

Remove the incorrect implementation that wrapped the factory and created
temporary files. Instead, read agent settings from schema.metadata which
is populated by the low-code agents runtime.

- Remove ConfigurableRuntimeFactory class and tests
- Update _get_agent_model() to read from schema.metadata["settings"]["model"]
- Keep fallback to protocol for backwards compatibility
- Update uipath-runtime dependency to >=0.3.4 (includes metadata field)
- Remove temp file cleanup from __aexit__

PR #1053 introduced a design that broke separation of concerns:
- Wrapped the factory unnecessarily
- Deserialized agent.json in the CLI layer
- Created temporary modified JSON files
- Required cleanup of temp files

The correct design (per @cristipufu feedback):
- Low-code repo populates schema.metadata with settings
- CLI reads settings from schema.metadata
- No temp files, no factory wrapper, no JSON deserialization in CLI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <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 Jan 20, 2026
@mathurk mathurk requested a review from cristipufu January 21, 2026 01:03
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.

1 participant