Remove unnecessary comment in contextManager
- Remove comment "// 处理所有命令" from processText method.
This commit is contained in:
parent
944e4e0c9b
commit
c41fe6906b
@ -64,7 +64,6 @@ export interface ChatContext {
|
||||
}
|
||||
|
||||
async processText(command: string): Promise<string[]> {
|
||||
// 处理所有命令
|
||||
for (const contextObj of this.contexts) {
|
||||
if (contextObj.name === command) {
|
||||
return await contextObj.handler();
|
||||
|
Loading…
x
Reference in New Issue
Block a user