built out my portifolio again .. any feedback ![]()
![]()
Yea, uses Gemini. Has some context about me to personalize it
1 Like
@marangaa Neat! AI SDK? ![]()
in the works
. next ship ![]()
Finally got around to making the refactor, now using the AI SDK. Here are the features I liked most:
Simplified State Management
- Before: Complex custom state, multiple hooks, and manual message handling
- After: Single
useChathook handles everything — messages, loading states, streaming, and errors
Built-in Tool Calling
- Before: Manual tool invocation with custom schemas and complex parsing
- After: Clean tool definitions in the API route with automatic invocation and result handling
Streaming & Real-time Updates
- Before: Custom streaming implementation with manual chunk parsing
- After: Built-in streaming via
streamText— just works out of the box
Message Structure & UI
- Before: Custom message types with complex rendering logic
- After: Standardized
partsstructure with tool results seamlessly integrated
generative ui was cool to work with too..
