Skip to content

Fix action_type being overwritten in interactive mode#2085

Open
gggolddeity wants to merge 1 commit intohuggingface:mainfrom
gggolddeity:fix/interactive-action-type
Open

Fix action_type being overwritten in interactive mode#2085
gggolddeity wants to merge 1 commit intohuggingface:mainfrom
gggolddeity:fix/interactive-action-type

Conversation

@gggolddeity
Copy link

In interactive_mode() in cli.py, the user picks action_type via Prompt.ask (code or tool_calling), but a few lines below there's a hardcoded action_type = "code" that overwrites the choice. Because of this, selecting
tool_calling in interactive mode never actually works — the agent always runs as CodeAgent.

The fix is just removing that redundant assignment so the user's selection is actually used.

This bug has been there since the feature was introduced in 4dbab6d

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