mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-29 03:44:06 +08:00
fix(agent-manager): keep merged app below lint limit
This commit is contained in:
@@ -1498,18 +1498,11 @@ const AgentManagerContent: Component = () => {
|
||||
}
|
||||
}
|
||||
|
||||
// Set per-session model selection without clearing busy state.
|
||||
// Used during Phase 1 of multi-version creation so the UI selector
|
||||
// reflects the correct model as soon as the worktree appears.
|
||||
if ((msg as { type: string }).type === "agentManager.setSessionModel") {
|
||||
const ev = msg as { type: string; sessionId: string; providerID: string; modelID: string }
|
||||
session.setSessionModel(ev.sessionId, ev.providerID, ev.modelID)
|
||||
}
|
||||
|
||||
// Handle initial message send for multi-version sessions.
|
||||
// The extension creates the worktrees/sessions, then asks the webview
|
||||
// to send the prompt through the normal KiloProvider sendMessage path.
|
||||
// Once the message is sent, clear the loading state for that worktree.
|
||||
if ((msg as { type: string }).type === "agentManager.sendInitialMessage") {
|
||||
const ev = msg as unknown as AgentManagerSendInitialMessage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user