Skip to content

Commit

Permalink
Task/nai login (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick authored Jul 17, 2023
1 parent 008f3ee commit 7263e3d
Show file tree
Hide file tree
Showing 17 changed files with 1,510 additions and 814 deletions.
6 changes: 6 additions & 0 deletions common/module.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
declare module 'libsodium-wrappers-sumo' {
const mod: any

export = mod
}

declare module 'png-chunk-text' {
export function decode<T = { keyword: string; text: string }>(chunk: any): T
export function encode<T = { name: string; data: any }>(key: string, value: string): T
Expand Down
3 changes: 3 additions & 0 deletions common/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export const chatGenSettings = {
ignoreCharacterUjb: 'boolean?',
gaslight: 'string?',
oaiModel: 'string',

novelModel: 'string?',
novelModelOverride: 'string?',

claudeModel: 'string',
streamResponse: 'boolean?',
useGaslight: 'boolean?',
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"events": "^3.1.0",
"https-browserify": "^1.0.0",
"js-cookie": "^3.0.1",
"libsodium-wrappers-sumo": "^0.7.11",
"localforage": "^1.10.0",
"lucide-solid": "0.252.0",
"mocha": "^10.2.0",
Expand All @@ -162,6 +163,7 @@
"solid-js": "1.7.6",
"stream-browserify": "^3.0.0",
"stream-http": "^3.1.0",
"string_decoder": "^1.3.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3",
"url": "^0.11.0",
Expand Down
Loading

0 comments on commit 7263e3d

Please sign in to comment.