Remove redundant closure
This commit is contained in:
parent
21082c0aba
commit
2ed2b82e02
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ impl AgentConnection for ClaudeAgentConnection {
|
|||
};
|
||||
|
||||
let api_key =
|
||||
cx.update(|cx| AnthropicLanguageModelProvider::api_key(cx))?
|
||||
cx.update(AnthropicLanguageModelProvider::api_key)?
|
||||
.await
|
||||
.map_err(|err| {
|
||||
if err.is::<language_model::AuthenticateError>() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue