You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: cora auth login not scriptable despite --provider and --api-key flags #184
cora auth login --provider zai --api-key <key> still enters interactive mode asking for provider selection and API key input. The --provider and --api-key flags are ignored.
Impact
Cannot automate cora setup in CI/CD or Dockerfile
Must use printf pipe as workaround, which is fragile
Expected Behavior
cora auth login --provider zai --api-key sk-xxx
# Should write to ~/.cora/auth.toml non-interactively
Fixed by PR #203. cora auth login --provider zai --api-key test123 --force now works non-interactively. Also supports auto-detection of provider env vars (e.g. cora auth login --provider zai picks up ZAI_API_KEY automatically).
Activity
fix(v0.4.3): 6 UX fixes from full codebase review (#190)
ajianaz commentedon Jun 7, 2026
Fixed by PR #203.
cora auth login --provider zai --api-key test123 --forcenow works non-interactively. Also supports auto-detection of provider env vars (e.g.cora auth login --provider zaipicks up ZAI_API_KEY automatically).