u
This commit is contained in:
@@ -56,7 +56,7 @@ Exports: `LLMOrbiter`, `OpenRouterProvider`, `defineTool`, `ToolError`, `DirectR
|
||||
- `signal`: external `AbortSignal`.
|
||||
|
||||
Loop: send messages + tool specs -> if `tool_calls` come back, invoke locals and feed results
|
||||
back -> repeat until no more tool calls or `maxIterations`.
|
||||
back -> if an iteration returns neither tool calls nor content (no response), the loop continues -> repeat until a response is produced or `maxIterations`.
|
||||
|
||||
Returns:
|
||||
- `content`: final assistant message text (or `null`).
|
||||
|
||||
Reference in New Issue
Block a user