@inkeep/ai-sdk-provider 0.41.2 → 0.43.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/README.md
CHANGED
|
@@ -129,7 +129,7 @@ When creating a model instance, you can configure:
|
|
|
129
129
|
|
|
130
130
|
## API Endpoint
|
|
131
131
|
|
|
132
|
-
This provider communicates with the `/api/chat` endpoint of your Inkeep Agents Run API.
|
|
132
|
+
This provider communicates with the `/run/api/chat` endpoint of your Inkeep Agents Run API.
|
|
133
133
|
|
|
134
134
|
- **Non-streaming** (`generateText`): Sends `stream: false` parameter - returns complete JSON response
|
|
135
135
|
- **Streaming** (`streamText`): Sends `stream: true` parameter - returns Vercel AI SDK data stream
|
|
@@ -103,7 +103,7 @@ var InkeepChatLanguageModel = class {
|
|
|
103
103
|
async doGenerate(options) {
|
|
104
104
|
const { args, warnings } = this.getArgs(options);
|
|
105
105
|
const response = await (0, _ai_sdk_provider_utils.postJsonToApi)({
|
|
106
|
-
url: `${this.config.baseURL}/api/chat`,
|
|
106
|
+
url: `${this.config.baseURL}/run/api/chat`,
|
|
107
107
|
headers: this.config.headers(),
|
|
108
108
|
body: {
|
|
109
109
|
...args,
|
|
@@ -143,7 +143,7 @@ var InkeepChatLanguageModel = class {
|
|
|
143
143
|
async doStream(options) {
|
|
144
144
|
const { args, warnings } = this.getArgs(options);
|
|
145
145
|
const response = await (0, _ai_sdk_provider_utils.postJsonToApi)({
|
|
146
|
-
url: `${this.config.baseURL}/api/chat`,
|
|
146
|
+
url: `${this.config.baseURL}/run/api/chat`,
|
|
147
147
|
headers: this.config.headers(),
|
|
148
148
|
body: {
|
|
149
149
|
...args,
|
|
@@ -103,7 +103,7 @@ var InkeepChatLanguageModel = class {
|
|
|
103
103
|
async doGenerate(options) {
|
|
104
104
|
const { args, warnings } = this.getArgs(options);
|
|
105
105
|
const response = await postJsonToApi({
|
|
106
|
-
url: `${this.config.baseURL}/api/chat`,
|
|
106
|
+
url: `${this.config.baseURL}/run/api/chat`,
|
|
107
107
|
headers: this.config.headers(),
|
|
108
108
|
body: {
|
|
109
109
|
...args,
|
|
@@ -143,7 +143,7 @@ var InkeepChatLanguageModel = class {
|
|
|
143
143
|
async doStream(options) {
|
|
144
144
|
const { args, warnings } = this.getArgs(options);
|
|
145
145
|
const response = await postJsonToApi({
|
|
146
|
-
url: `${this.config.baseURL}/api/chat`,
|
|
146
|
+
url: `${this.config.baseURL}/run/api/chat`,
|
|
147
147
|
headers: this.config.headers(),
|
|
148
148
|
body: {
|
|
149
149
|
...args,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/ai-sdk-provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "AI SDK provider for Inkeep Agent Framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ai-sdk/provider": "3.0.2",
|
|
26
26
|
"@ai-sdk/provider-utils": "4.0.4",
|
|
27
27
|
"zod": "^4.1.12",
|
|
28
|
-
"@inkeep/agents-core": "0.
|
|
28
|
+
"@inkeep/agents-core": "0.43.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public",
|