feat: /login command + auto-select Altimate model#111
Closed
suryaiyer95 wants to merge 1 commit intomainfrom
Closed
feat: /login command + auto-select Altimate model#111suryaiyer95 wants to merge 1 commit intomainfrom
suryaiyer95 wants to merge 1 commit intomainfrom
Conversation
- Add `/login` slash command with 3-step wizard (URL, tenant, API key) that writes credentials to `~/.altimate/altimate.json` - Auto-select `altimate-backend/altimate-default` model when credentials are configured — no provider or model selection needed - Replace 3 separate Claude model entries with single "Altimate AI" model (backend handles model routing via litellm fallback chain) - Fix hardcoded `localhost:8000` URL to use `creds.altimateUrl` from credential file Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/loginslash command — 3-step wizard (Backend URL → Tenant → API Key) that writes~/.altimate/altimate.jsonaltimate-backend/altimate-defaultmodel when credentials are configured — no provider or model picker workflow neededlocalhost:8000URL to use configuredcreds.altimateUrlHow it works
/login→ enters Altimate URL, tenant name, API key~/.altimate/altimate.jsonwith 0600 permissionsTest plan
/login→ complete all 3 steps → verify~/.altimate/altimate.jsonwritten correctly🤖 Generated with Claude Code