docs(OrchestrateService): 添加注释说明暂时未使用的类和函数用途

This commit is contained in:
icarus 2025-08-29 17:53:05 +08:00
parent a2326ee825
commit b5c1530d97

View File

@ -22,6 +22,7 @@ export interface OrchestrationRequest {
* The OrchestrationService is responsible for orchestrating the different services
* to handle a user's message. It contains the core logic of the application.
*/
// NOTE暂时没有用到这个类
export class OrchestrationService {
constructor() {
// In the future, this could be a singleton, but for now, a new instance is fine.
@ -55,6 +56,11 @@ export class OrchestrationService {
}
}
/**
* LLM可以理解的格式并发送请求
* @param request -
* @param onChunkReceived -
*/
// 目前先按照函数来写,后续如果有需要到class的地方就改回来
export async function transformMessagesAndFetch(
request: OrchestrationRequest,