fix(auth): rebase PR #200 onto main and restore auth CLI flow
This commit is contained in:
parent
96109d46d1
commit
d42cb1e906
11 changed files with 594 additions and 44 deletions
|
|
@ -6,7 +6,6 @@ use crate::tools::ToolSpec;
|
|||
use async_trait::async_trait;
|
||||
use reqwest::Client;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub struct AnthropicProvider {
|
||||
credential: Option<String>,
|
||||
|
|
@ -408,6 +407,7 @@ impl Provider for AnthropicProvider {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::auth::anthropic_token::{detect_auth_kind, AnthropicAuthKind};
|
||||
|
||||
#[test]
|
||||
fn creates_with_key() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue