v1.2.2 - Fix network error on background, auto-retry streaming with reconnect

This commit is contained in:
admin
2026-05-19 15:50:45 +04:00
Unverified
parent 2e327317e4
commit 1026259a20
3831 changed files with 384316 additions and 39 deletions

13
node_modules/@nicepkg/gpt-runner/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import { UserConfig as UserConfig$1, ChatModelType } from '@nicepkg/gpt-runner-shared/common';
export * from '@nicepkg/gpt-runner-shared/common';
export * from '@nicepkg/gpt-runner-shared/node';
type GetStaticValueFromChatModelType<T extends ChatModelType> = T extends ChatModelType ? `${T}` : never;
type UserConfig = {
[Key in keyof Omit<UserConfig$1, 'rootPath' | 'exts'>]: Key extends 'model' ? Omit<NonNullable<UserConfig$1[Key]>, 'type'> & {
type: GetStaticValueFromChatModelType<NonNullable<UserConfig$1[Key]>['type']>;
} : UserConfig$1[Key];
};
declare function defineConfig(config: UserConfig): UserConfig;
export { UserConfig, defineConfig };