Skip to content

Commit

Permalink
Merge pull request #12 from yukimemi/udd-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 14, 2024
2 parents d186894 + 72a0e40 commit 009ebd9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion denops/futago/futago.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
InputContent,
SafetySetting,
StartChatParams,
} from "https://esm.sh/@google/generative-ai@0.2.0";
} from "https://esm.sh/@google/generative-ai@0.2.1";
import { getLogger } from "https://deno.land/std@0.215.0/log/mod.ts";
import { getDb, setDb } from "./db.ts";
import { Semaphore } from "https://deno.land/x/async@v2.1.0/semaphore.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
RotatingFileHandler,
setup,
} from "https://deno.land/std@0.215.0/log/mod.ts";
import { GenerationConfig, SafetySetting } from "https://esm.sh/@google/generative-ai@0.2.0";
import { GenerationConfig, SafetySetting } from "https://esm.sh/@google/generative-ai@0.2.1";
import { z } from "https://deno.land/x/zod@v3.22.4/mod.ts";

import { startChat, StartChatParamsSchema } from "./dispatcher/start_chat.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/schema/generation_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
// =============================================================================

import { z } from "https://deno.land/x/zod@v3.22.4/mod.ts";
import { GenerationConfig } from "https://esm.sh/@google/generative-ai@0.2.0";
import { GenerationConfig } from "https://esm.sh/@google/generative-ai@0.2.1";

export const GenerationConfigSchema = z.record(z.any()).transform((v) => v as GenerationConfig);
2 changes: 1 addition & 1 deletion denops/futago/schema/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// =============================================================================

import { z } from "https://deno.land/x/zod@v3.22.4/mod.ts";
import { InputContent } from "https://esm.sh/@google/generative-ai@0.2.0";
import { InputContent } from "https://esm.sh/@google/generative-ai@0.2.1";

export const HistorySchema = z.array(z.record(z.any()).transform((v) => v as InputContent));
export type History = z.infer<typeof HistorySchema>;
2 changes: 1 addition & 1 deletion denops/futago/schema/safety_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
// =============================================================================

import { z } from "https://deno.land/x/zod@v3.22.4/mod.ts";
import { SafetySetting } from "https://esm.sh/@google/generative-ai@0.2.0";
import { SafetySetting } from "https://esm.sh/@google/generative-ai@0.2.1";

export const SafetySettingsSchema = z.array(z.record(z.any()).transform((v) => v as SafetySetting));

0 comments on commit 009ebd9

Please sign in to comment.