@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
22 lines (17 loc) • 428 B
text/typescript
import { PythonResult } from '@lobechat/python-interpreter';
export interface CodeInterpreterParams {
code: string;
packages: string[];
}
export interface CodeInterpreterFileItem {
data?: File;
fileId?: string;
filename: string;
previewUrl?: string;
}
export interface CodeInterpreterResponse extends PythonResult {
files?: CodeInterpreterFileItem[];
}
export interface CodeInterpreterState {
error?: any;
}