@meetkai/mka1 0.54.25 → 0.54.26
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/bin/mcp-server.js +7 -6
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/funcs/llmBatchesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/llmBatchesCreate.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmBatchesCreate.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmBatchesCreate.js.map +1 -1
- package/dist/commonjs/models/components/batchendpoint.d.ts +1 -0
- package/dist/commonjs/models/components/batchendpoint.d.ts.map +1 -1
- package/dist/commonjs/models/components/batchendpoint.js +1 -0
- package/dist/commonjs/models/components/batchendpoint.js.map +1 -1
- package/dist/commonjs/react-query/llmBatchesCreate.d.ts +1 -1
- package/dist/commonjs/react-query/llmBatchesCreate.js +1 -1
- package/dist/commonjs/sdk/batches.d.ts +1 -1
- package/dist/commonjs/sdk/batches.js +1 -1
- package/dist/esm/funcs/llmBatchesCreate.d.ts +1 -1
- package/dist/esm/funcs/llmBatchesCreate.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/llmBatchesCreate.js +1 -1
- package/dist/esm/mcp-server/tools/llmBatchesCreate.js.map +1 -1
- package/dist/esm/models/components/batchendpoint.d.ts +1 -0
- package/dist/esm/models/components/batchendpoint.d.ts.map +1 -1
- package/dist/esm/models/components/batchendpoint.js +1 -0
- package/dist/esm/models/components/batchendpoint.js.map +1 -1
- package/dist/esm/react-query/llmBatchesCreate.d.ts +1 -1
- package/dist/esm/react-query/llmBatchesCreate.js +1 -1
- package/dist/esm/sdk/batches.d.ts +1 -1
- package/dist/esm/sdk/batches.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmBatchesCreate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmBatchesCreate.ts +1 -1
- package/src/models/components/batchendpoint.ts +1 -0
- package/src/react-query/llmBatchesCreate.ts +1 -1
- package/src/sdk/batches.ts +1 -1
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Create a batch
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
15
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Create a batch
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
54
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
55
55
|
*
|
|
56
56
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
57
57
|
*/
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.26";
|
|
35
35
|
readonly genVersion: "2.935.1";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.26 2.935.1 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.1.0",
|
|
38
|
-
sdkVersion: "0.54.
|
|
38
|
+
sdkVersion: "0.54.26",
|
|
39
39
|
genVersion: "2.935.1",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.54.26 2.935.1 1.1.0 @meetkai/mka1",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.54.
|
|
25
|
+
currentVersion: "0.54.26",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -392,7 +392,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
|
|
|
392
392
|
function createMCPServer(deps) {
|
|
393
393
|
const server = new mcp_js_1.McpServer({
|
|
394
394
|
name: "SDK",
|
|
395
|
-
version: "0.54.
|
|
395
|
+
version: "0.54.26",
|
|
396
396
|
});
|
|
397
397
|
const client = new core_js_1.SDKCore({
|
|
398
398
|
bearerAuth: deps.bearerAuth,
|
|
@@ -47,7 +47,7 @@ exports.tool$llmBatchesCreate = {
|
|
|
47
47
|
name: "llm-batches-create",
|
|
48
48
|
description: `Create a batch
|
|
49
49
|
|
|
50
|
-
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.`,
|
|
50
|
+
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.`,
|
|
51
51
|
args,
|
|
52
52
|
tool: async (client, args, ctx) => {
|
|
53
53
|
const [result, apiCall] = await (0, llmBatchesCreate_js_1.llmBatchesCreate)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmBatchesCreate.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmBatchesCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yEAAmE;AACnE,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,gCAAgC;CACrD,CAAC;AAEW,QAAA,qBAAqB,GAAgC;IAChE,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"llmBatchesCreate.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmBatchesCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yEAAmE;AACnE,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,gCAAgC;CACrD,CAAC;AAEW,QAAA,qBAAqB,GAAgC;IAChE,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;8KAE+J;IAC5K,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,sCAAgB,EAC9C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
export declare const BatchEndpoint: {
|
|
4
4
|
readonly RootV1ChatCompletions: "/v1/chat/completions";
|
|
5
|
+
readonly RootV1Responses: "/v1/responses";
|
|
5
6
|
readonly RootV1Embeddings: "/v1/embeddings";
|
|
6
7
|
readonly RootV1ImagesGenerations: "/v1/images/generations";
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchendpoint.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"batchendpoint.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAChC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC"}
|
|
@@ -40,6 +40,7 @@ exports.BatchEndpoint$outboundSchema = exports.BatchEndpoint$inboundSchema = exp
|
|
|
40
40
|
const z = __importStar(require("zod/v3"));
|
|
41
41
|
exports.BatchEndpoint = {
|
|
42
42
|
RootV1ChatCompletions: "/v1/chat/completions",
|
|
43
|
+
RootV1Responses: "/v1/responses",
|
|
43
44
|
RootV1Embeddings: "/v1/embeddings",
|
|
44
45
|
RootV1ImagesGenerations: "/v1/images/generations",
|
|
45
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchendpoint.js","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,aAAa,GAAG;IAC3B,qBAAqB,EAAE,sBAAsB;IAC7C,gBAAgB,EAAE,gBAAgB;IAClC,uBAAuB,EAAE,wBAAwB;CACzC,CAAC;AAGX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAChC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"batchendpoint.js","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,aAAa,GAAG;IAC3B,qBAAqB,EAAE,sBAAsB;IAC7C,eAAe,EAAE,eAAe;IAChC,gBAAgB,EAAE,gBAAgB;IAClC,uBAAuB,EAAE,wBAAwB;CACzC,CAAC;AAGX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAChC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type LlmBatchesCreateMutationError = SDKError | ResponseValidationError |
|
|
|
18
18
|
* Create a batch
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
21
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmBatchesCreateMutation(options?: MutationHookOptions<LlmBatchesCreateMutationData, LlmBatchesCreateMutationError, LlmBatchesCreateMutationVariables>): UseMutationResult<LlmBatchesCreateMutationData, LlmBatchesCreateMutationError, LlmBatchesCreateMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmBatchesCreate(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Create a batch
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
18
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
19
19
|
*/
|
|
20
20
|
function useLlmBatchesCreateMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -6,7 +6,7 @@ export declare class Batches extends ClientSDK {
|
|
|
6
6
|
* Create a batch
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
9
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
10
10
|
*/
|
|
11
11
|
create(request: operations.CreateBatchRequest, options?: RequestOptions): Promise<components.BatchObject>;
|
|
12
12
|
/**
|
|
@@ -15,7 +15,7 @@ class Batches extends sdks_js_1.ClientSDK {
|
|
|
15
15
|
* Create a batch
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
18
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
19
19
|
*/
|
|
20
20
|
async create(request, options) {
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, llmBatchesCreate_js_1.llmBatchesCreate)(this, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Create a batch
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
15
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* Create a batch
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
18
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
19
19
|
*
|
|
20
20
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
21
21
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.26";
|
|
35
35
|
readonly genVersion: "2.935.1";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.26 2.935.1 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.1.0",
|
|
34
|
-
sdkVersion: "0.54.
|
|
34
|
+
sdkVersion: "0.54.26",
|
|
35
35
|
genVersion: "2.935.1",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.54.26 2.935.1 1.1.0 @meetkai/mka1",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -389,7 +389,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
|
|
|
389
389
|
export function createMCPServer(deps) {
|
|
390
390
|
const server = new McpServer({
|
|
391
391
|
name: "SDK",
|
|
392
|
-
version: "0.54.
|
|
392
|
+
version: "0.54.26",
|
|
393
393
|
});
|
|
394
394
|
const client = new SDKCore({
|
|
395
395
|
bearerAuth: deps.bearerAuth,
|
|
@@ -11,7 +11,7 @@ export const tool$llmBatchesCreate = {
|
|
|
11
11
|
name: "llm-batches-create",
|
|
12
12
|
description: `Create a batch
|
|
13
13
|
|
|
14
|
-
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.`,
|
|
14
|
+
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.`,
|
|
15
15
|
args,
|
|
16
16
|
tool: async (client, args, ctx) => {
|
|
17
17
|
const [result, apiCall] = await llmBatchesCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmBatchesCreate.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmBatchesCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,gCAAgC;CACrD,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAgC;IAChE,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"llmBatchesCreate.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmBatchesCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,gCAAgC;CACrD,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAgC;IAChE,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;8KAE+J;IAC5K,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,gBAAgB,CAC9C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
export declare const BatchEndpoint: {
|
|
4
4
|
readonly RootV1ChatCompletions: "/v1/chat/completions";
|
|
5
|
+
readonly RootV1Responses: "/v1/responses";
|
|
5
6
|
readonly RootV1Embeddings: "/v1/embeddings";
|
|
6
7
|
readonly RootV1ImagesGenerations: "/v1/images/generations";
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchendpoint.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"batchendpoint.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAChC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchendpoint.js","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,qBAAqB,EAAE,sBAAsB;IAC7C,gBAAgB,EAAE,gBAAgB;IAClC,uBAAuB,EAAE,wBAAwB;CACzC,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAChC,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAErC,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"batchendpoint.js","sourceRoot":"","sources":["../../../../src/models/components/batchendpoint.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,qBAAqB,EAAE,sBAAsB;IAC7C,eAAe,EAAE,eAAe;IAChC,gBAAgB,EAAE,gBAAgB;IAClC,uBAAuB,EAAE,wBAAwB;CACzC,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAChC,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAErC,2BAA2B,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type LlmBatchesCreateMutationError = SDKError | ResponseValidationError |
|
|
|
18
18
|
* Create a batch
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
21
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmBatchesCreateMutation(options?: MutationHookOptions<LlmBatchesCreateMutationData, LlmBatchesCreateMutationError, LlmBatchesCreateMutationVariables>): UseMutationResult<LlmBatchesCreateMutationData, LlmBatchesCreateMutationError, LlmBatchesCreateMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmBatchesCreate(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Create a batch
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
13
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmBatchesCreateMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -6,7 +6,7 @@ export declare class Batches extends ClientSDK {
|
|
|
6
6
|
* Create a batch
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
9
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
10
10
|
*/
|
|
11
11
|
create(request: operations.CreateBatchRequest, options?: RequestOptions): Promise<components.BatchObject>;
|
|
12
12
|
/**
|
package/dist/esm/sdk/batches.js
CHANGED
|
@@ -12,7 +12,7 @@ export class Batches extends ClientSDK {
|
|
|
12
12
|
* Create a batch
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
15
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
16
16
|
*/
|
|
17
17
|
async create(request, options) {
|
|
18
18
|
return unwrapAsync(llmBatchesCreate(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Create a batch
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
33
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.26",
|
|
69
69
|
genVersion: "2.935.1",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.26 2.935.1 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$llmBatchesCreate: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-batches-create",
|
|
15
15
|
description: `Create a batch
|
|
16
16
|
|
|
17
|
-
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.`,
|
|
17
|
+
Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmBatchesCreate(
|
|
@@ -7,6 +7,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
7
7
|
|
|
8
8
|
export const BatchEndpoint = {
|
|
9
9
|
RootV1ChatCompletions: "/v1/chat/completions",
|
|
10
|
+
RootV1Responses: "/v1/responses",
|
|
10
11
|
RootV1Embeddings: "/v1/embeddings",
|
|
11
12
|
RootV1ImagesGenerations: "/v1/images/generations",
|
|
12
13
|
} as const;
|
|
@@ -48,7 +48,7 @@ export type LlmBatchesCreateMutationError =
|
|
|
48
48
|
* Create a batch
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
51
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
52
52
|
*/
|
|
53
53
|
export function useLlmBatchesCreateMutation(
|
|
54
54
|
options?: MutationHookOptions<
|
package/src/sdk/batches.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class Batches extends ClientSDK {
|
|
|
16
16
|
* Create a batch
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields.
|
|
19
|
+
* Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. Text batches also require write:responses.
|
|
20
20
|
*/
|
|
21
21
|
async create(
|
|
22
22
|
request: operations.CreateBatchRequest,
|