diff --git a/ee/lib/gitlab/llm/chain/agents/zero_shot/executor.rb b/ee/lib/gitlab/llm/chain/agents/zero_shot/executor.rb index b10e541ea6a460bc281ead867f236921d66383f9..204106e4514ee9a1c8e0f9cd1fa58edcc32d3e66 100644 --- a/ee/lib/gitlab/llm/chain/agents/zero_shot/executor.rb +++ b/ee/lib/gitlab/llm/chain/agents/zero_shot/executor.rb @@ -217,7 +217,7 @@ def prompt_options You must always use the following format: Question: the input question you must answer Thought: you should always think about what to do - Action: the action to take, should be one tool from this list or an direct answer (then use DirectAnswer as action): [%<tool_names>s] + Action: the action to take, should be one tool from this list or a direct answer (then use DirectAnswer as action): [%<tool_names>s] Action Input: the input to the action needs to be provided for every action that uses a tool Observation: the result of the actions. If the Action is DirectAnswer never write an Observation, but remember that you're still #{AGENT_NAME}.