File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
crates/openshell-providers/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ pub fn normalize_provider_type(input: &str) -> Option<&'static str> {
129129 match normalized. as_str ( ) {
130130 "claude" => Some ( "claude" ) ,
131131 "codex" => Some ( "codex" ) ,
132- "copilot" | "gh-copilot" | "github-copilot" => Some ( "copilot" ) ,
132+ "copilot" => Some ( "copilot" ) ,
133133 "opencode" => Some ( "opencode" ) ,
134134 "generic" => Some ( "generic" ) ,
135135 "openai" => Some ( "openai" ) ,
@@ -167,8 +167,6 @@ mod tests {
167167 assert_eq ! ( normalize_provider_type( "anthropic" ) , Some ( "anthropic" ) ) ;
168168 assert_eq ! ( normalize_provider_type( "nvidia" ) , Some ( "nvidia" ) ) ;
169169 assert_eq ! ( normalize_provider_type( "copilot" ) , Some ( "copilot" ) ) ;
170- assert_eq ! ( normalize_provider_type( "gh-copilot" ) , Some ( "copilot" ) ) ;
171- assert_eq ! ( normalize_provider_type( "github-copilot" ) , Some ( "copilot" ) ) ;
172170 assert_eq ! ( normalize_provider_type( "unknown" ) , None ) ;
173171 }
174172
You can’t perform that action at this time.
0 commit comments