fix(readme): adjust ASCII art in README to fix box widths and spacing in agent diagram
This commit is contained in:
@@ -58,10 +58,10 @@ console.log(result.usage); // { promptTokens, completionTokens, totalTokens }
|
||||
┌─────────────────────────────────────────────────┐
|
||||
│ runAgent({ model, prompt, tools, maxSteps }) │
|
||||
│ │
|
||||
│ ┌───────────┐ ┌──────────┐ ┌───────────┐ │
|
||||
│ │ Messages │──▶│ streamText│──▶│ Tools │ │
|
||||
│ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │ │
|
||||
│ └───────────┘ └──────────┘ └───────────┘ │
|
||||
│ ┌────────────┐ ┌───────────┐ ┌───────────┐ │
|
||||
│ │ Messages │──▶│ streamText│──▶│ Tools │ │
|
||||
│ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │ │
|
||||
│ └────────────┘ └───────────┘ └───────────┘ │
|
||||
│ │
|
||||
│ stopWhen: stepCountIs(maxSteps) │
|
||||
│ + retry with backoff on 429/529/503 │
|
||||
|
||||
Reference in New Issue
Block a user