mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
nit
This commit is contained in:
@@ -39,7 +39,8 @@ impl ToolHandler for RequestUserInputHandler {
|
||||
let mode = session.collaboration_mode().await.mode;
|
||||
if !matches!(mode, ModeKind::Plan | ModeKind::PairProgramming) {
|
||||
let mode_name = match mode {
|
||||
ModeKind::Default | ModeKind::Execute => "Default",
|
||||
ModeKind::Default => "Default",
|
||||
ModeKind::Execute => "Execute",
|
||||
ModeKind::Plan | ModeKind::PairProgramming => unreachable!(),
|
||||
};
|
||||
return Err(FunctionCallError::RespondToModel(format!(
|
||||
|
||||
Reference in New Issue
Block a user