@mastra/openai 1.1.2-alpha.0 → 1.1.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs/SKILL.md
CHANGED
|
@@ -99,7 +99,7 @@ import { Agent } from '@mastra/core/agent'
|
|
|
99
99
|
import { Memory } from '@mastra/memory'
|
|
100
100
|
import { LibSQLStore } from '@mastra/libsql'
|
|
101
101
|
import { PineconeVector } from '@mastra/pinecone'
|
|
102
|
-
import {
|
|
102
|
+
import { ModelRouterEmbeddingModel } from '@mastra/core/llm'
|
|
103
103
|
import { openai } from '@ai-sdk/openai'
|
|
104
104
|
|
|
105
105
|
const agent = new Agent({
|
|
@@ -115,10 +115,7 @@ const agent = new Agent({
|
|
|
115
115
|
id: 'memory-vector',
|
|
116
116
|
apiKey: process.env.PINECONE_API_KEY!,
|
|
117
117
|
}),
|
|
118
|
-
embedder: new
|
|
119
|
-
model: 'text-embedding-3-small',
|
|
120
|
-
apiKey: process.env.OPENAI_API_KEY!,
|
|
121
|
-
}),
|
|
118
|
+
embedder: new ModelRouterEmbeddingModel('openai/text-embedding-3-small'),
|
|
122
119
|
semanticRecall: { enabled: true }, // SemanticRecall processor automatically added
|
|
123
120
|
}),
|
|
124
121
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/openai",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3-alpha.0",
|
|
4
4
|
"description": "OpenAI Agents SDK package for Mastra",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"typescript": "^7.0.2",
|
|
36
36
|
"vitest": "4.1.11",
|
|
37
37
|
"zod": "^4.6.4",
|
|
38
|
-
"@internal/lint": "0.0.
|
|
39
|
-
"@internal/types-builder": "0.0.
|
|
40
|
-
"@mastra/core": "1.
|
|
38
|
+
"@internal/lint": "0.0.144",
|
|
39
|
+
"@internal/types-builder": "0.0.119",
|
|
40
|
+
"@mastra/core": "1.78.1-alpha.0"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://mastra.ai",
|
|
43
43
|
"repository": {
|