UNPKG

@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.

20 lines (16 loc) 479 B
// @vitest-environment node import { ModelProvider } from 'model-bank'; import { testProvider } from '../../providerTestUtils'; import { LobeSambaNovaAI } from './index'; const provider = ModelProvider.SambaNova; const defaultBaseURL = 'https://api.sambanova.ai/v1'; testProvider({ Runtime: LobeSambaNovaAI, provider, defaultBaseURL, chatDebugEnv: 'DEBUG_SAMBANOVA_CHAT_COMPLETION', chatModel: 'Meta-Llama-3.1-8B-Instruct', test: { skipAPICall: true, }, });