You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`glob "node_modules/ai/docs/**/*.mdx"` for documentation files
19
23
-`glob "node_modules/ai/src/**/*.ts"` for source files
20
24
21
-
Use these resources for current API details, usage patterns, and examples.
25
+
Provider packages (`@ai-sdk/openai`, `@ai-sdk/anthropic`, etc.) also include bundled docs in their respective `node_modules/@ai-sdk/<provider>/docs/` directories.
26
+
27
+
**When in doubt, update to the latest version of the AI SDK.**
28
+
29
+
### Otherwise
30
+
31
+
1. Search the docs: `https://ai-sdk.dev/api/search-docs?q=your_query`
32
+
2. The response includes matches with links ending in `.md`
33
+
3. Fetch those `.md` URLs directly to get plain text content (e.g. `https://ai-sdk.dev/docs/agents/building-agents.md`)
34
+
35
+
Use these resources for current API details, examples, and usage patterns.
22
36
23
37
For common errors and troubleshooting, see [Common Errors Reference](references/common-errors.md).
24
38
25
-
## Provider-Specific Information
39
+
## Provider-Specific Information (ai@6.0.34+)
26
40
27
41
For questions about specific providers (OpenAI, Anthropic, Google, etc.), search their dedicated packages:
0 commit comments