@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.
19 lines (15 loc) • 418 B
text/typescript
// @vitest-environment node
import { testProvider } from '@/libs/model-runtime/providerTestUtils';
import { LobeMoonshotAI } from './index';
const provider = 'moonshot';
const defaultBaseURL = 'https://api.moonshot.cn/v1';
testProvider({
Runtime: LobeMoonshotAI,
provider,
defaultBaseURL,
chatDebugEnv: 'DEBUG_MOONSHOT_CHAT_COMPLETION',
chatModel: 'moonshot-v1',
test: {
skipAPICall: true,
},
});