From 1ce52466d84e0a99b4ee4f081f6470f75a0302a2 Mon Sep 17 00:00:00 2001 From: ton Date: Fri, 2 Oct 2026 14:53:26 +0000 Subject: [PATCH] Update src/agentCore.jl --- src/agentCore.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agentCore.jl b/src/agentCore.jl index acc80b2..7b0bbb6 100644 --- a/src/agentCore.jl +++ b/src/agentCore.jl @@ -439,7 +439,7 @@ function _processMessage( formattedMessages = formatMessagesForLLM(preparedContext, eventSink) eventSink("▶ _processMessage: context") - eventSink("Thinking...") + eventSink("llmCall()") """ response example response = JSON.Object{String, Any}("finish_reason" => "tool_calls", "index" => 0, "message" => JSON.Object{String, Any}("role" => "assistant", "content" => "", "reasoning_content" => "Here's a thinking process:\n\n1. **Identify User Request**: The user is asking for the weather in Bangkok.\n2. **Locate Relevant Tool**: I have a `getWeather` function available.\n3. **Check Function Parameters**:\n - `city` (required): City and country, e.g., 'San Francisco, CA' or 'Tokyo, Japan'\n - `units` (optional, default \"celsius\"): Temperature scale (\"celsius\" or \"fahrenheit\")\n4. **Prepare Parameters**:\n - `city`: \"Bangkok, Thailand\" (adding country for clarity, though just \"Bangkok\" might work, following the example format is safer)\n - `units`: Not specified, so I'll use the default (\"celsius\")\n5. **Execute Tool Call**: Call `getWeather` with `city: \"Bangkok, Thailand\"`\n6. **Anticipate Response**: The function will return current weather and forecast data for Bangkok. I'll then format it nicely for the user.\n - *Self-Correction/Verification during thought*: The prompt says \"city: City and country, e.g., 'San Francisco, CA' or 'Tokyo, Japan'\". I'll use \"Bangkok, Thailand\". The `units` parameter is optional, so I'll omit it to use the default.\n - Proceed with tool call.✅\n", "tool_calls" => Any[JSON.Object{String, Any}("type" => "function", "function" => JSON.Object{String, Any}("name" => "getWeather", "arguments" => "{\"city\":\"Bangkok, Thailand\"}"), "id" => "6fOilR5QPcdppbAAHluhkRyUDu3oWMAL")])) """