Skip to content

Add AI by vercel extension - #22804

Merged
raycastbot merged 3 commits into
raycast:mainfrom
ridemountainpig:add-ai-by-vercel-ext
Nov 11, 2025
Merged

raycastbot merged 3 commits into
raycast:mainfrom
ridemountainpig:add-ai-by-vercel-ext

Conversation

@ridemountainpig

Copy link
Copy Markdown
Contributor

Description

Add the AI by Vercel extension built at the Tokyo AI Hackathon to use multiple models on Raycast through the Vercel AI gateway.

Screencast

raycast-ai-by-vercel.mp4

Checklist

@raycastbot

ghost commented Nov 11, 2025

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

Due to our current reduced availability, the initial review may take up to 10 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

ghost commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR adds a new "AI by Vercel" extension that enables users to interact with multiple AI models through Vercel's AI Gateway. The extension was built during a Tokyo AI Hackathon and provides two main commands: "ask-vercel-ai" for standard AI conversations and "ask-compare-models" for comparing responses across different models. The implementation follows Raycast conventions with proper TypeScript configuration, state management through LocalStorage for conversation persistence, and clean component architecture with separation of concerns between hooks, utilities, and views.

Important Files Changed

Filename Score Overview
extensions/ai-by-vercel/src/ask-vercel-ai.tsx 5/5 Main entry point command that renders ConversationListView for AI conversations
extensions/ai-by-vercel/src/ask-compare-models.tsx 5/5 Simple command entry point for model comparison functionality
extensions/ai-by-vercel/src/components/ConversationListView.tsx 4/5 Main conversation management interface with search and conversation history
extensions/ai-by-vercel/src/hooks/useConversations.ts 3/5 State management hook for conversation persistence with potential race condition issues
extensions/ai-by-vercel/src/utils/conversation.ts 5/5 Utility functions for formatting conversations in markdown and plain text
extensions/ai-by-vercel/tsconfig.json 5/5 Standard TypeScript configuration following Raycast extension patterns
extensions/ai-by-vercel/eslint.config.js 5/5 Standard ESLint configuration extending Raycast's linting rules
extensions/ai-by-vercel/LICENSE 5/5 MIT License file with proper copyright attribution

Confidence score: 3/5

  • This PR introduces functional code with some potential issues that could cause problems in production
  • Score reflects race condition concerns in the useConversations hook where LocalStorage operations aren't properly awaited in state update patterns, which could lead to data inconsistency between UI state and persisted data
  • Pay close attention to extensions/ai-by-vercel/src/hooks/useConversations.ts for the async state management patterns that need review

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

21 files reviewed, 9 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/ai-by-vercel/CHANGELOG.md Resolved
Comment thread extensions/ai-by-vercel/src/types.ts Resolved
@ridemountainpig

ghost commented Nov 11, 2025

Copy link
Copy Markdown
Contributor Author

@greptileai, could you please do a fresh review?

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@pernielsentikaer pernielsentikaer self-assigned this Nov 11, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit cfb46f5 into raycast:main Nov 11, 2025
@github-actions

ghost commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 11, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@ridemountainpig
ridemountainpig deleted the add-ai-by-vercel-ext branch November 14, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants