Skip to content

Add injectable client factories for recursive RLM runtimes - #176

Open
vishaltandale00 wants to merge 2 commits into
alexzhang13:mainfrom
vishaltandale00:codex/client-factory-injection
Open

vishaltandale00 wants to merge 2 commits into
alexzhang13:mainfrom
vishaltandale00:codex/client-factory-injection

Conversation

@vishaltandale00

Copy link
Copy Markdown

Summary

  • add an optional client_factory seam for custom BaseLM runtimes
  • propagate the factory through recursive children and max-depth fallback
  • route unnamed recursive calls to the configured child backend
  • document custom runtime injection

Why

Applications that already own an agent runtime need to reuse authentication, tools, model routing, and tracing without modifying rlms' global backend registry. The factory must remain active at every recursion depth.

Tests

  • 51 focused recursion tests passed, 1 skipped
  • 276 non-Docker tests passed, 8 skipped
  • Docker tests were excluded because the local Docker fixture could not mount /workspace/_exec.py

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant