diff --git a/src/interface.jl b/src/interface.jl index 206ef35..13d65e7 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -221,9 +221,9 @@ function planner_mistral_openorca(a::agentReflex) 1. Ask the user about how many miles per day they drive 2. Ask the user about what stuff they usually carry with 3. Ask the user about preferred type of car they want to buy (sedan, sport, SUV, etc) - 8. Ask the user about their price range - 9. Use inventory tool to find cars that match the user's preferences and are within their price range - 10. Use finalanswer tool to present the recommended car to the user. + 4. Ask the user about their price range + 5. Use inventory tool to find cars that match the user's preferences and are within their price range + 6. Use finalanswer tool to present the recommended car to the user. Keyword memory: {"mile per day": null, "carry item": null, "car type": null, "price range": null} diff --git a/src/utils.jl b/src/utils.jl index 7e7d722..30e359f 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -386,6 +386,8 @@ function isUsePlans(a::agentReflex) isuseplan = true elseif a.role == :assistant isuseplan = false + elseif a.role == :sommelier + isuseplan = true else # if LLM mentions any tools, use Plan/Thought/Act loop response = sendReceivePrompt(a, prompt, temperature=0.2, max_tokens=64, stopword=["<|", "