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

18
node_modules/@nicepkg/gpt-runner/dist/index.cjs generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const common = require('@nicepkg/gpt-runner-shared/common');
const node = require('@nicepkg/gpt-runner-shared/node');
function defineConfig(config) {
return config;
}
exports.defineConfig = defineConfig;
for (const k in common) {
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = common[k];
}
for (const k in node) {
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = node[k];
}

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 };

8
node_modules/@nicepkg/gpt-runner/dist/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,8 @@
export * from '@nicepkg/gpt-runner-shared/common';
export * from '@nicepkg/gpt-runner-shared/node';
function defineConfig(config) {
return config;
}
export { defineConfig };