-
Notifications
You must be signed in to change notification settings - Fork 44
feat: ai-agent example #937
base: 04-20-feat_chat_room_react_example
Are you sure you want to change the base?
feat: ai-agent example #937
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
090fe2a to
317f869
Compare
b0887f7 to
23135ff
Compare
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.
Update to v0.9
| "dependencies": { | ||
| "@actor-core/react": "workspace:*", | ||
| "@ai-sdk/openai": "^1.3.16", | ||
| "@types/react": "^19", | ||
| "@types/react-dom": "^19", | ||
| "actor-core": "workspace:*", | ||
| "dotenv": "^16.5.0", | ||
| "react": "^19", | ||
| "react-dom": "^19", | ||
| "react-scripts": "^5.0.1" | ||
| }, |
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.
The code in actors/app.ts imports generateText, jsonSchema, and tool from the ai package, but this dependency is missing from the package.json file. Please add "ai": "^4.3.9" to the dependencies section to ensure the project builds correctly.
| "dependencies": { | |
| "@actor-core/react": "workspace:*", | |
| "@ai-sdk/openai": "^1.3.16", | |
| "@types/react": "^19", | |
| "@types/react-dom": "^19", | |
| "actor-core": "workspace:*", | |
| "dotenv": "^16.5.0", | |
| "react": "^19", | |
| "react-dom": "^19", | |
| "react-scripts": "^5.0.1" | |
| }, | |
| "dependencies": { | |
| "@actor-core/react": "workspace:*", | |
| "@ai-sdk/openai": "^1.3.16", | |
| "@types/react": "^19", | |
| "@types/react-dom": "^19", | |
| "actor-core": "workspace:*", | |
| "ai": "^4.3.9", | |
| "dotenv": "^16.5.0", | |
| "react": "^19", | |
| "react-dom": "^19", | |
| "react-scripts": "^5.0.1" | |
| }, |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.

Ai agent from snippet