Skip to content

feat: improve isolation uipath#1440

Merged
cotovanu-cristian merged 4 commits intomainfrom
feat/improve-isolation-uipath
Mar 24, 2026
Merged

feat: improve isolation uipath#1440
cotovanu-cristian merged 4 commits intomainfrom
feat/improve-isolation-uipath

Conversation

@cotovanu-cristian
Copy link
Collaborator

@cotovanu-cristian cotovanu-cristian commented Mar 12, 2026

Summary

  • Add reset_llm_concurrency() to llm_throttle module — resets the concurrency limit and semaphore to defaults
  • Add ConfigurationManager.reset() — clears studio_solution_id and invalidates the _internal_arguments cached property so the config file is re-read on next access
  • Bump uipath to 2.10.27 and uipath-platform to 0.1.6

@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 Mar 12, 2026
@cotovanu-cristian cotovanu-cristian force-pushed the feat/improve-isolation-uipath branch 2 times, most recently from b6896fe to 13fe0a8 Compare March 24, 2026 06:30
@cotovanu-cristian cotovanu-cristian marked this pull request as ready for review March 24, 2026 06:34
cotovanu-cristian and others added 4 commits March 24, 2026 08:53
Reset studio_solution_id and invalidate cached _internal_arguments
so pooled server jobs don't inherit stale config from previous jobs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
If job A calls set_llm_concurrency(), the limit bleeds into job B in
pooled server mode. Adding a reset function allows the factory dispose
chain to restore the default between jobs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cotovanu-cristian cotovanu-cristian force-pushed the feat/improve-isolation-uipath branch from 13fe0a8 to 50cd73e Compare March 24, 2026 06:53
@github-actions github-actions bot removed the test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository label Mar 24, 2026
@cotovanu-cristian cotovanu-cristian enabled auto-merge (squash) March 24, 2026 06:57
Comment on lines 46 to +57
global _llm_concurrency_limit, _llm_semaphore, _llm_semaphore_loop
_llm_concurrency_limit = limit
_llm_semaphore = None
_llm_semaphore_loop = None


def reset_llm_concurrency() -> None:
"""Reset LLM concurrency limit and semaphore to defaults."""
global _llm_concurrency_limit, _llm_semaphore, _llm_semaphore_loop
_llm_concurrency_limit = DEFAULT_LLM_CONCURRENCY
_llm_semaphore = None
_llm_semaphore_loop = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are these global?

@cotovanu-cristian cotovanu-cristian merged commit 157a1e7 into main Mar 24, 2026
127 checks passed
@cotovanu-cristian cotovanu-cristian deleted the feat/improve-isolation-uipath branch March 24, 2026 07:24
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants