Commit 2488206
* Editorial: Structure - Added intro line explaining what readers will learn; Voice and tone - Removed marketing language "seamlessly" and "making it easy"
* Editorial: Structure - Removed marketing language "straightforward" in opening paragraph; Voice and tone - Changed "Let's get started!" to more direct language; Structure - Modified intro to better follow 10/20/70 format
* Update app/en/guides/agent-frameworks/vercelai/page.mdx
* Update app/en/guides/agent-frameworks/vercelai/page.mdx
* Restore missing Chat component code section
The code section from lines 883-944 was accidentally removed. This commit restores:
- Complete condition check for empty messages
- Message rendering logic with auth handling
- Loader display for assistant responses
- AuthPendingUI integration
- PromptInput form section
- Proper closing tags for the complete code example
Co-authored-by: nabors <nabors@arcade.dev>
* Fix MDX syntax errors: convert HTML comments to JSX comments
- Removed stray ```mdx code fence from page.mdx
- Converted HTML comments to JSX comment syntax {/* */}
- Moved editorial comment from before frontmatter to after imports
This fixes the MDX parsing error: 'Unexpected character `!` before name'
Co-authored-by: nabors <nabors@arcade.dev>
* Fix duplicate Chat component code and malformed code block
Removed incorrectly duplicated code that was added when restoring the
missing section. The Chat component now correctly appears:
- Once in the step-by-step guide (lines 428-525)
- Once in the Complete code section at the end (lines 800-947)
This fixes the malformed ```.role line that was breaking the code block.
Co-authored-by: nabors <nabors@arcade.dev>
* Update app/en/guides/agent-frameworks/vercelai/page.mdx
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: RL "Nearest" Nabors <236306+nearestnabors@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: nabors <nabors@arcade.dev>
1 parent a62d3a7 commit 2488206
2 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
274 | | - | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| |||
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
309 | | - | |
| 311 | + | |
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
313 | | - | |
| 315 | + | |
314 | 316 | | |
315 | 317 | | |
316 | 318 | | |
| |||
421 | 423 | | |
422 | 424 | | |
423 | 425 | | |
424 | | - | |
| 426 | + | |
425 | 427 | | |
426 | 428 | | |
427 | 429 | | |
| |||
563 | 565 | | |
564 | 566 | | |
565 | 567 | | |
566 | | - | |
| 568 | + | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| |||
941 | 943 | | |
942 | 944 | | |
943 | 945 | | |
| 946 | + | |
944 | 947 | | |
0 commit comments