We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c2465d commit 1cd4fecCopy full SHA for 1cd4fec
README.md
@@ -109,8 +109,11 @@ export default app;
109
### Configuring the agent
110
111
```ts
112
+import { v } from "convex/values";
113
import { components } from "./_generated/api";
-import { Agent } from "@convex-dev/agent";
114
+import { Agent, createTool } from "@convex-dev/agent";
115
+import { openai } from "@ai-sdk/openai";
116
+import { tool } from "ai";
117
118
// Define an agent similarly to the AI SDK
119
const supportAgent = new Agent(components.agent, {
0 commit comments