Skip to content

Commit 2e56845

Browse files
committed
fix compile issue
1 parent 33e6061 commit 2e56845

File tree

1 file changed

+1
-1
lines changed
  • crates/chat-cli/src/api_client

1 file changed

+1
-1
lines changed

crates/chat-cli/src/api_client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ impl ApiClient {
609609

610610
// Add a helper method to check if using non-default endpoint
611611
fn is_custom_endpoint(database: &Database) -> bool {
612-
database.settings.get(Setting::ApiCodeWhispererService).is_ok()
612+
database.settings.get(Setting::ApiCodeWhispererService).is_some()
613613
}
614614
}
615615

0 commit comments

Comments
 (0)