Skip to content

Basic multi client support#759

Draft
eligotts wants to merge 2 commits intoPrimeIntellect-ai:mainfrom
eligotts:eli/feat/multi-client
Draft

Basic multi client support#759
eligotts wants to merge 2 commits intoPrimeIntellect-ai:mainfrom
eligotts:eli/feat/multi-client

Conversation

@eligotts
Copy link
Copy Markdown
Contributor

Description

State['client'] now becomes a dictionary mapping from str -> client object
we then need to add a new field to State to track what the current client is
in init_state, we handle whether the user passed in a dictionary for the llm client mapping or a single client
add a get_next_client function to multi_turn_env to implement client switching logic
decided that get_prompt_messages should own this model switching logic, but not sure if that is best option
for more robust solution, would need prompt message rewrite logic according to what client we are on

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 22, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants