fix(readme): adjust ASCII art in README to fix box widths and spacing in agent diagram

This commit is contained in:
2026-03-06 11:41:30 +00:00
parent 38556c8b12
commit c503690d52
3 changed files with 11 additions and 5 deletions

View File

@@ -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 │