auto-gpt-ts
Version:
my take of Auto-GPT in typescript
55 lines (54 loc) • 1.75 kB
TypeScript
import { Loggable } from "../logging";
export declare class Config extends Loggable {
disabledCommandCategories: string[];
workspacePath: string;
fileLoggerPath: string;
aiRole: string;
debugMode: boolean;
continuousMode: boolean;
continuousLimit: number;
speakMode: boolean;
skipReprompt: boolean;
allowDownloads: boolean;
skipNews: boolean;
currentGeoLocation: string;
currentTimeZone: string;
useMacOsTts: boolean;
chatMessagesEnabled: boolean;
useBrianTts: boolean;
githubApiKey: string;
githubUsername: string;
googleApiKey: string;
customSearchEngineId: string;
authoriseKey: string;
exitKey: string;
aiSettingsFile: string;
fastLlmModel: string;
smartLlmModel: string;
fastTokenLimit: number;
smartTokenLimit: number;
browseChunkMaxLength: number;
browseSpacyLanguageModel: string;
openaiApiKey: string;
temperature: number;
useAzure: boolean;
executeLocalCommands: boolean;
restrictToWorkspace: boolean;
userAgent: string;
memoryBackend: string;
memoryIndex: string;
setContinuousMode(value: boolean): void;
setContinuousLimit(value: number): void;
setSpeakMode(value: boolean): void;
setFastLlmModel(value: string): void;
setSmartLlmModel(value: string): void;
setFastTokenLimit(value: number): void;
setSmartTokenLimit(value: number): void;
setBrowseChunkMaxLength(value: number): void;
setOpenaiApiKey(value: string): void;
setGoogleApiKey(value: string): void;
setCustomSearchEngineId(value: string): void;
setDebugMode(value: boolean): void;
setTemperature(value: number): void;
}
export declare function checkOpenaiApiKey(): void;