bedead / bedead/Eibox

Bug: LLM switches back to default in chatbotAgent after model change

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Bug Description
After switching the model in chatbotAgent, the LLM switches back to the default LLM when a new message is typed by the user.

## Suspected Cause
This could be due to the set_initial_model node being recalled whenever the user types a new message, which is not required.

## Suggested Fix
- Investigate the logic in chatbotAgent where set_initial_model is triggered.
- Consider adding a condition to prevent set_initial_model from being called after the initial selection.
- Look for alternative workarounds if simply updating the logic is not feasible.

---
Please update the logic or implement a workaround so that the selected model persists across user messages unless explicitly changed by the user.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in chatbotAgent and trace where the set_initial_model node is triggered when a user sends a new message. Reproduce the model switch followed by another message, then verify that the selected model persists across messages and changes only when explicitly requested. No specific file or test is named, so locate the relevant entry point and existing coverage first.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.