Files
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

23 lines
790 B
Plaintext

---
title: Tool Call with Auto Invoke Kernel Functions and Skip LLM
---
sequenceDiagram
participant Client
participant Plugin
participant Kernel
participant AI Service
participant LLM
Client->>+AI Service: Invoke Chat Completion with Auto Function Call
AI Service->>+LLM: Chat Completion
LLM->>-AI Service: Tool Call Request
AI Service->>AI Service: Update Chat History
loop For Each Tool in Tool Call request
AI Service->>+Kernel: Function Call
Kernel->>+Plugin: Invoke Function
Plugin->>-Kernel: Function Result
Kernel->>-AI Service: Final Function Call Result
end
AI Service->>AI Service: Update Chat History
AI Service->>AI Service: Skip LLM because Final Function
AI Service->>-Client: Final Function Call Result