BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.08k stars 261 forks source link

fix: ensure getExplanation uses the settled MODEL #115

Closed songlairui closed 1 month ago

songlairui commented 1 month ago

The getExplanation method is currently defaulting to the standard model instead of the custom model specified in the initial step.

This PR corrects the issue by ensuring that the getExplanation method correctly uses the custom model, maintaining the intended functionality.

in the screnshot, I am using custom model, but it trying the default model during the second step

image
steve8708 commented 1 month ago

thanks @songlairui !