Skip to content

Commit a5d9da9

Browse files
committed
Revert "Fixed an issue where response_to_user is called when the user wants to end the conversation. It should call route_to_agent with converation_end as true"
This reverts commit 8d5b140.
1 parent 94c3a86 commit a5d9da9

File tree

1 file changed

+1
-2
lines changed
  • src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instructions

1 file changed

+1
-2
lines changed

src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instructions/instruction.liquid

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Follow these steps to handle user request:
55
2. Determine which agent is suitable to handle this conversation. Try to minimize the routing of human service.
66
3. Extract and populate agent required arguments, think carefully, leave it as blank object if user didn't provide the specific arguments.
77
4. You must include all required args for the selected agent, but you must not make up any parameters when there is no exact value provided, those parameters must set value as null if not declared.
8-
5. If user wants to end the conversation, call route_to_agent function with conversation_end as true.
9-
6. If user is greeting, you can call function response_to_user with a greeting message.
8+
5. If user is greeting, you can call function response_to_user with a greeting message.
109

1110
{% if routing_requirements and routing_requirements != empty %}
1211
[REQUIREMENTS]

0 commit comments

Comments
 (0)