@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.
17 lines (13 loc) • 438 B
text/typescript
// @vitest-environment node
import { ModelProvider } from '@/libs/model-runtime';
import { testProvider } from '@/libs/model-runtime/providerTestUtils';
import { LobeStepfunAI } from './index';
const provider = ModelProvider.Stepfun;
const defaultBaseURL = 'https://api.stepfun.com/v1';
testProvider({
Runtime: LobeStepfunAI,
provider,
defaultBaseURL,
chatDebugEnv: 'DEBUG_STEPFUN_CHAT_COMPLETION',
chatModel: 'stepfun',
});