Skip to content

move the LLM instance directly to Assistant to make it cleaner to share with tests#43

Open
bcherry wants to merge 2 commits intomainfrom
claude/cleaner-model-sharing-node-tYly8
Open

move the LLM instance directly to Assistant to make it cleaner to share with tests#43
bcherry wants to merge 2 commits intomainfrom
claude/cleaner-model-sharing-node-tYly8

Conversation

@bcherry
Copy link
Copy Markdown
Contributor

@bcherry bcherry commented Apr 30, 2026

this gets rid of the awkward AGENT_MODEL constant by just making the LLM an inherent property of the Assistant, which seems more intuitive

I also switched the test judge model to base 5.2 instead of the chat version to make it clearer that you can (and should) use a different model for evals than for core chat.

I'd like to move STT and TTS as well, but I found a bug we need to fix first

also see livekit-examples/agent-starter-python#71

…ith tests

This gets rid of the awkward AGENT_MODEL constant by making the LLM an inherent
property of the Agent, which is more intuitive.

Also switched the test judge model to base 5.2 instead of the chat version to
make it clearer that you can (and should) use a different model for evals than
for core chat.
@bcherry bcherry changed the title Move LLM configuration from session to Agent class move the LLM instance directly to Assistant to make it cleaner to share with tests Apr 30, 2026
@bcherry bcherry requested review from Topherhindman and u9g April 30, 2026 04:43
The constructor requires an options arg and destructures it; calling
new voice.AgentSession() with no arg throws at runtime.
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