fix(onboard,anthropic): stabilize oauth setup-token flow and model defaults
- fix onboard command ownership handling before spawn_blocking - restore memory helper imports in wizard to resolve build regression - centralize Anthropic OAuth beta header in apply_auth for all request paths - correct OpenRouter Anthropic Sonnet 4.5 model ID format - add regression tests for auth headers and curated model IDs
This commit is contained in:
parent
bb6034e765
commit
e197cc5b04
3 changed files with 72 additions and 4 deletions
|
|
@ -367,8 +367,14 @@ async fn main() -> Result<()> {
|
|||
api_key,
|
||||
provider,
|
||||
memory,
|
||||
} = cli.command
|
||||
} = &cli.command
|
||||
{
|
||||
let interactive = *interactive;
|
||||
let channels_only = *channels_only;
|
||||
let api_key = api_key.clone();
|
||||
let provider = provider.clone();
|
||||
let memory = memory.clone();
|
||||
|
||||
if interactive && channels_only {
|
||||
bail!("Use either --interactive or --channels-only, not both");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue