Repository navigation
feat: add a Vercel subproject built on the AI SDK for Python and AI Gateway #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zimeg
wants to merge
17
commits into
main
Choose a base branch
from
vercel-subproject
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ec70589
feat: scaffold the vercel subproject from the sibling apps
zimeg a2da03f
feat: store conversation history in vercel runtime cache
zimeg 47d7f73
feat: run the starter agent on the ai sdk for python through ai gateway
zimeg 76bcb38
feat: answer in slack with the ai sdk agent over socket mode
zimeg c3ab5b7
feat: keep oauth installs in vercel blob and state in runtime cache
zimeg b95fdde
feat: serve the agent from vercel with oauth and wait_until
zimeg 2caca8e
docs: document the vercel subproject and add it to ci
zimeg 03485e2
fix: keep local env out of vercel deploys and note the python version
zimeg 1690322
Merge remote-tracking branch 'origin/main' into vercel-subproject
zimeg 32d524a
chore: update the vercel agent skills to match main
zimeg 7a631f0
refactor: rename the vercel subproject to vercel-ai-sdk
zimeg 7ed43b0
docs: run oauth locally with vercel dev
zimeg 2a4d89b
refactor: drop the empty views registration
zimeg 7528ff2
docs: describe how the vercel-ai-sdk template differs in its own sent…
zimeg ce07ae2
refactor: inline the wait_until lazy listener runner in app_vercel.py
zimeg fcf4ef8
fix(vercel-ai-sdk): log at info level on the vercel entry point
zimeg 3ab17b4
fix(vercel-ai-sdk): install the vercel extra of ai
zimeg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,7 +28,7 @@ Update the vendored bolt-python wheel to the latest commit on the `main` branch. | |
| cp dist/slack_bolt-*.whl ../vendor/ | ||
| ``` | ||
|
|
||
| 6. Update the whl filename in all three `requirements.txt` files (`claude-agent-sdk/requirements.txt`, `openai-agents-sdk/requirements.txt`, `pydantic-ai/requirements.txt`). Replace the existing `../vendor/slack_bolt-*.whl` line with the new filename. | ||
| 6. Update the whl filename in all four `requirements.txt` files (`claude-agent-sdk/requirements.txt`, `openai-agents-sdk/requirements.txt`, `pydantic-ai/requirements.txt`, `vercel-ai-sdk/requirements.txt`). Replace the existing `../vendor/slack_bolt-*.whl` line with the new filename. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📚 question (non-blocking): None of the subprojects has a |
||
|
|
||
| 7. Clean up the build directory: | ||
| ``` | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📚 question (non-blocking): Same here,
vercel-ai-sdk/requirements.txtdoesn't exist.