-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from yukimemi/molt-action
- Loading branch information
Showing
12 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ import { Futago } from "../futago.ts"; | |
import { basename, extname } from "jsr:@std/[email protected]"; | ||
import { getDb } from "../db.ts"; | ||
import { getNow } from "../util.ts"; | ||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
|
||
export const loadChatParamsSchema = z.object({ | ||
bufnr: z.number(), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ import * as batch from "jsr:@denops/[email protected]/batch"; | |
import * as fn from "jsr:@denops/[email protected]/function"; | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
import { walk } from "jsr:@std/[email protected]"; | ||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
|
||
export const openHistoryParamsSchema = z.object({ | ||
chatDir: z.string(), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ import * as option from "jsr:@denops/[email protected]/option"; | |
import { Futago } from "../futago.ts"; | ||
import { getNow } from "../util.ts"; | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
import { Semaphore } from "jsr:@lambdalisue/[email protected]"; | ||
import { SEPARATOR } from "../consts.ts"; | ||
import { getLastLineNumber } from "../util.ts"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ import { getDb, setDb } from "./db.ts"; | |
import { Semaphore } from "jsr:@lambdalisue/[email protected]"; | ||
import { CACHE_DIR, DEFAULT_AI_PROMPT, DEFAULT_HUMAN_PROMPT, DEFAULT_MODEL } from "./consts.ts"; | ||
import { join } from "jsr:@std/[email protected]"; | ||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
|
||
export class Futago { | ||
#genAI: GoogleGenerativeAI; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ import { | |
setup, | ||
} from "jsr:@std/[email protected]"; | ||
import { GenerationConfig, SafetySetting } from "npm:@google/[email protected]"; | ||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
|
||
import { startChat, StartChatParamsSchema } from "./dispatcher/start_chat.ts"; | ||
import { loadChat } from "./dispatcher/load_chat.ts"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
// Last Change : 2024/11/02 23:49:19. | ||
// ============================================================================= | ||
|
||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
import { GenerationConfig } from "npm:@google/[email protected]"; | ||
|
||
export const GenerationConfigSchema = z.record(z.any()).transform((v) => v as GenerationConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
// Last Change : 2024/11/03 00:00:20. | ||
// ============================================================================= | ||
|
||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
import { Content } from "npm:@google/[email protected]"; | ||
|
||
export const ContentSchema = z.record(z.any()).transform((v) => v as Content); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
// Last Change : 2024/11/02 23:56:45. | ||
// ============================================================================= | ||
|
||
import { z } from "npm:zod@3.23.8"; | ||
import { z } from "npm:zod@3.24.1"; | ||
import { SafetySetting } from "npm:@google/[email protected]"; | ||
|
||
export const SafetySettingsSchema = z.array(z.record(z.any()).transform((v) => v as SafetySetting)); |