@glueco/plugin-llm-openai 0.1.0 → 0.1.1

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.
@@ -429,7 +429,6 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
429
429
  arguments: string;
430
430
  } | undefined;
431
431
  }[];
432
- max_tokens?: number | undefined;
433
432
  user?: string | undefined;
434
433
  temperature?: number | undefined;
435
434
  top_p?: number | undefined;
@@ -439,6 +438,7 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
439
438
  include_usage?: boolean | undefined;
440
439
  } | undefined;
441
440
  stop?: string | string[] | undefined;
441
+ max_tokens?: number | undefined;
442
442
  max_completion_tokens?: number | undefined;
443
443
  presence_penalty?: number | undefined;
444
444
  frequency_penalty?: number | undefined;
@@ -503,7 +503,6 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
503
503
  arguments: string;
504
504
  } | undefined;
505
505
  }[];
506
- max_tokens?: number | undefined;
507
506
  user?: string | undefined;
508
507
  temperature?: number | undefined;
509
508
  top_p?: number | undefined;
@@ -513,6 +512,7 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
513
512
  include_usage?: boolean | undefined;
514
513
  } | undefined;
515
514
  stop?: string | string[] | undefined;
515
+ max_tokens?: number | undefined;
516
516
  max_completion_tokens?: number | undefined;
517
517
  presence_penalty?: number | undefined;
518
518
  frequency_penalty?: number | undefined;
@@ -1047,8 +1047,8 @@ declare const ChatCompletionResponseSchema: z.ZodObject<{
1047
1047
  service_tier: z.ZodOptional<z.ZodString>;
1048
1048
  }, "strip", z.ZodTypeAny, {
1049
1049
  object: "chat.completion";
1050
- model: string;
1051
1050
  id: string;
1051
+ model: string;
1052
1052
  created: number;
1053
1053
  choices: {
1054
1054
  message: {
@@ -1098,8 +1098,8 @@ declare const ChatCompletionResponseSchema: z.ZodObject<{
1098
1098
  system_fingerprint?: string | undefined;
1099
1099
  }, {
1100
1100
  object: "chat.completion";
1101
- model: string;
1102
1101
  id: string;
1102
+ model: string;
1103
1103
  created: number;
1104
1104
  choices: {
1105
1105
  message: {
@@ -1381,8 +1381,8 @@ declare const ChatCompletionChunkSchema: z.ZodObject<{
1381
1381
  service_tier: z.ZodOptional<z.ZodString>;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
1383
  object: "chat.completion.chunk";
1384
- model: string;
1385
1384
  id: string;
1385
+ model: string;
1386
1386
  created: number;
1387
1387
  choices: {
1388
1388
  index: number;
@@ -1429,8 +1429,8 @@ declare const ChatCompletionChunkSchema: z.ZodObject<{
1429
1429
  system_fingerprint?: string | undefined;
1430
1430
  }, {
1431
1431
  object: "chat.completion.chunk";
1432
- model: string;
1433
1432
  id: string;
1433
+ model: string;
1434
1434
  created: number;
1435
1435
  choices: {
1436
1436
  index: number;
@@ -429,7 +429,6 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
429
429
  arguments: string;
430
430
  } | undefined;
431
431
  }[];
432
- max_tokens?: number | undefined;
433
432
  user?: string | undefined;
434
433
  temperature?: number | undefined;
435
434
  top_p?: number | undefined;
@@ -439,6 +438,7 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
439
438
  include_usage?: boolean | undefined;
440
439
  } | undefined;
441
440
  stop?: string | string[] | undefined;
441
+ max_tokens?: number | undefined;
442
442
  max_completion_tokens?: number | undefined;
443
443
  presence_penalty?: number | undefined;
444
444
  frequency_penalty?: number | undefined;
@@ -503,7 +503,6 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
503
503
  arguments: string;
504
504
  } | undefined;
505
505
  }[];
506
- max_tokens?: number | undefined;
507
506
  user?: string | undefined;
508
507
  temperature?: number | undefined;
509
508
  top_p?: number | undefined;
@@ -513,6 +512,7 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
513
512
  include_usage?: boolean | undefined;
514
513
  } | undefined;
515
514
  stop?: string | string[] | undefined;
515
+ max_tokens?: number | undefined;
516
516
  max_completion_tokens?: number | undefined;
517
517
  presence_penalty?: number | undefined;
518
518
  frequency_penalty?: number | undefined;
@@ -1047,8 +1047,8 @@ declare const ChatCompletionResponseSchema: z.ZodObject<{
1047
1047
  service_tier: z.ZodOptional<z.ZodString>;
1048
1048
  }, "strip", z.ZodTypeAny, {
1049
1049
  object: "chat.completion";
1050
- model: string;
1051
1050
  id: string;
1051
+ model: string;
1052
1052
  created: number;
1053
1053
  choices: {
1054
1054
  message: {
@@ -1098,8 +1098,8 @@ declare const ChatCompletionResponseSchema: z.ZodObject<{
1098
1098
  system_fingerprint?: string | undefined;
1099
1099
  }, {
1100
1100
  object: "chat.completion";
1101
- model: string;
1102
1101
  id: string;
1102
+ model: string;
1103
1103
  created: number;
1104
1104
  choices: {
1105
1105
  message: {
@@ -1381,8 +1381,8 @@ declare const ChatCompletionChunkSchema: z.ZodObject<{
1381
1381
  service_tier: z.ZodOptional<z.ZodString>;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
1383
  object: "chat.completion.chunk";
1384
- model: string;
1385
1384
  id: string;
1385
+ model: string;
1386
1386
  created: number;
1387
1387
  choices: {
1388
1388
  index: number;
@@ -1429,8 +1429,8 @@ declare const ChatCompletionChunkSchema: z.ZodObject<{
1429
1429
  system_fingerprint?: string | undefined;
1430
1430
  }, {
1431
1431
  object: "chat.completion.chunk";
1432
- model: string;
1433
1432
  id: string;
1433
+ model: string;
1434
1434
  created: number;
1435
1435
  choices: {
1436
1436
  index: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glueco/plugin-llm-openai",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenAI LLM plugin for Personal Resource Gateway",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -37,17 +37,17 @@
37
37
  "typecheck": "tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@glueco/shared": "^0.1.0",
40
+ "@glueco/shared": "^0.3.0",
41
41
  "zod": "^3.22.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@glueco/sdk": "^0.1.0",
44
+ "@glueco/sdk": "^0.3.0",
45
45
  "tsup": "^8.0.1",
46
46
  "typescript": "^5.3.3"
47
47
  },
48
48
  "peerDependencies": {
49
- "@glueco/shared": "^0.1.0",
50
- "@glueco/sdk": "^0.1.0"
49
+ "@glueco/shared": "^0.3.0",
50
+ "@glueco/sdk": "^0.3.0"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "@glueco/sdk": {