Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cin-albert committed Apr 29, 2024
1 parent acb56ae commit 4cdcf8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/ktem/ktem/reasoning/rewoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
logger = logging.getLogger(__name__)


DEFAUL_PLANNER_PROMPT = (
DEFAULT_PLANNER_PROMPT = (
"You are an AI agent who makes step-by-step plans to solve a problem under the "
"help of external tools. For each step, make one plan followed by one tool-call, "
"which will be executed later to retrieve evidence for that step.\n"
Expand Down Expand Up @@ -369,7 +369,7 @@ def get_user_settings(cls) -> dict:

return {
"planner_llm": {
"name": "Language Model for Planner",
"name": "Language model for Planner",
"value": llm,
"component": "dropdown",
"choices": llm_choices,
Expand All @@ -380,7 +380,7 @@ def get_user_settings(cls) -> dict:
),
},
"solver_llm": {
"name": "Language Model for Solver",
"name": "Language model for Solver",
"value": llm,
"component": "dropdown",
"choices": llm_choices,
Expand All @@ -403,7 +403,7 @@ def get_user_settings(cls) -> dict:
},
"planner_prompt": {
"name": "Planner Prompt",
"value": DEFAUL_PLANNER_PROMPT,
"value": DEFAULT_PLANNER_PROMPT,
},
"solver_prompt": {
"name": "Solver Prompt",
Expand Down

0 comments on commit 4cdcf8e

Please sign in to comment.