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.

15 lines (12 loc) 449 B
// @vitest-environment node import { ModelProvider } from '@/libs/model-runtime'; import { testProvider } from '@/libs/model-runtime/providerTestUtils'; import { LobeGithubAI } from './index'; testProvider({ Runtime: LobeGithubAI, provider: ModelProvider.Github, defaultBaseURL: 'https://models.github.ai/inference', chatDebugEnv: 'DEBUG_GITHUB_CHAT_COMPLETION', chatModel: 'openai/gpt-4o', invalidErrorType: 'InvalidGithubToken', });