#No response yet. Still waiting for a

1 messages · Page 1 of 1 (latest)

cosmic galleon
#

Hey,

Based on the logs it seems like conversation ends with agent asking "Can I send in your order now?" but he doesn't receive a confirmation

This is what actually happened
Agent said: "Can I send in the order?" or "Should I place the order?"
Agent did NOT: Actually call the CustomerRequest tool/function
Result: The order was never placed - it was just talked about

So there might be few potential issues
The agent is asking for permission instead of taking action. Common causes:

  • Prompt/Instructions Issue: The agent's system prompt might say "ask before doing things" but doesn't clarify when to actually execute
  • Tool Description Unclear: The CustomerRequest tool might not clearly indicate when it should be called
  • Confidence Issue: The agent isn't confident enough to make the tool call
  • Missing Trigger: The tool calling logic doesn't recognize the conversation context as ready for order placement

There are few ways of fixing such a problem

Option 1: Improve Agent Instructions

When the user confirms they want to place the order, you MUST:

  1. Call the CustomerRequest tool with all required parameters
  2. Wait for the tool response
  3. Confirm the order ID to the user
    Do not ask "should I place the order?" - just place it after confirmation.

Option 2: Fix Tool Description

Make the CustomerRequest tool description clearer about when to call it:

{
"name": "CustomerRequest",
"description": "Place a customer order. Call this immediately when the user confirms they want to place the order. Required parameters: customer_name, order_items, delivery_address."
}

Also to make sure, please test your agent. After finding problematic conversation open it, switch to transcription tab and create tests by adding additional messages
{
role: "user",
message: "Yes, please send the order"
}

timid yacht