@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.
24 lines (21 loc) • 478 B
text/typescript
export interface PythonOptions {
/**
* Pyodide CDN URL
*/
pyodideIndexUrl?: string;
/**
* PyPI 索引 URL,要求支持 [JSON API](https://warehouse.pypa.io/api-reference/json.html)
*
* 默认值:`https://pypi.org/pypi/{package_name}/json`
*/
pypiIndexUrl?: string;
}
export interface PythonOutput {
data: string;
type: 'stdout' | 'stderr';
}
export interface PythonResult {
output?: PythonOutput[];
result?: string;
success: boolean;
}