@nemesis-oss/ollama-sdk 1.12.0 → 1.13.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.
@@ -539,7 +539,7 @@ var SystemOneContentSchema = z.union([
539
539
  var SystemOneChoiceQuestionSchema = z.object({
540
540
  type: z.enum(["choice"]),
541
541
  instructions: SystemOneContentSchema,
542
- criteria: z.object({}).catchall(z.union([z.string(), z.null()])).refine((v) => Object.keys(v).length >= 2, { message: "must have at least 2 properties" }).refine((v) => Object.keys(v).length <= 26, { message: "must have at most 26 properties" }).refine((v) => Object.keys(v).every((k) => new RegExp("\\S").test(k)), {
542
+ criteria: z.object({}).catchall(z.union([z.string(), z.null()])).refine((v) => Object.keys(v).length >= 2, { message: "must have at least 2 properties" }).refine((v) => Object.keys(v).length <= 255, { message: "must have at most 255 properties" }).refine((v) => Object.keys(v).every((k) => new RegExp("\\S").test(k)), {
543
543
  message: 'property names must match pattern "\\S"'
544
544
  })
545
545
  });
@@ -678,6 +678,7 @@ var requestSchemas = {
678
678
  var responseSchemas = {
679
679
  balance: BalanceResponseSchema,
680
680
  chat: ChatResponseSchema,
681
+ copy: StatusResponseSchema,
681
682
  create: StatusResponseSchema,
682
683
  embed: EmbedResponseSchema,
683
684
  generate: GenerateResponseSchema,