MCPcopy
hub / github.com/nanbingxyz/5ire / INextChatService

Interface INextChatService

src/intellichat/services/INextCharService.ts:4–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { IServiceProvider } from 'providers/types';
3
4export default interface INextChatService {
5 name: string;
6 context: IChatContext;
7 provider: IServiceProvider;
8 chat(message: IChatRequestMessage[], msgId?: string): void;
9 abort(): void;
10 onComplete(callback: (result: any) => Promise<void>): void;
11 onToolCalls(callback: (toolName: string) => void): void;
12 onReading(callback: (chunk: string, reasoning?: string) => void): void;
13 onError(callback: (error: any, aborted: boolean) => void): void;
14}

Callers 5

ChatFunction · 0.80
processResponseFunction · 0.80
ChatFunction · 0.80
ChatFunction · 0.80
ChatFunction · 0.80

Implementers 15

OpenAIChatServicesrc/intellichat/services/OpenAIChatSer
ZhipuChatServicesrc/intellichat/services/ZhipuChatServ
DeepSeekChatServicesrc/intellichat/services/DeepSeekChatS
GoogleChatServicesrc/intellichat/services/GoogleChatSer
OllamaChatServicesrc/intellichat/services/OllamaChatSer
GrokChatServicesrc/intellichat/services/GrokChatServi
LMStudioChatServicesrc/intellichat/services/LMStudioChatS
FireChatServicesrc/intellichat/services/FireChatServi
AzureChatServicesrc/intellichat/services/AzureChatServ
DoubaoChatServicesrc/intellichat/services/DoubaoChatSer
BaiduChatServicesrc/intellichat/services/BaiduChatServ
AnthropicChatServicesrc/intellichat/services/AnthropicChat

Calls

no outgoing calls

Tested by

no test coverage detected