mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-11 09:47:40 +00:00
test(agent-core-v2): drop the await on the synchronous plan exit
IAgentPlanService.exit is void; the await tripped the type-aware await-thenable lint error.
This commit is contained in:
parent
c0295dddc1
commit
9df1e93087
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ async function planRoundTrip(handle: ISessionScopeHandle): Promise<void> {
|
|||
const hostFs = mainAgent(handle).accessor.get(IHostFileSystem);
|
||||
await hostFs.writeText(status!.path!, PLAN_CONTENT);
|
||||
await plan.recordRevision();
|
||||
await plan.exit();
|
||||
plan.exit();
|
||||
}
|
||||
|
||||
async function persistMedia(handle: ISessionScopeHandle): Promise<void> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue