-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
feat(setup): interactive setup wizard + install.sh #23644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ishaan-jaff
merged 24 commits into
litellm_ishaan_march_17
from
worktree-dynamic-tickling-journal
Mar 17, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
db7075b
feat(setup): add interactive setup wizard + install.sh
ishaan-jaff f765541
fix(install.sh): remove orange color, add LITELLM_BRANCH env var for …
ishaan-jaff 3998b47
fix(install.sh): install from git branch so --setup is available for QA
ishaan-jaff 027174d
fix(install.sh): remove stale LITELLM_BRANCH reference that caused un…
ishaan-jaff c0d1ac9
fix(install.sh): force-reinstall from git to bypass cached PyPI version
ishaan-jaff 6871959
fix(install.sh): show pip progress bar during install
ishaan-jaff f99be57
fix(install.sh): always launch wizard via $PYTHON_BIN -m litellm, not…
ishaan-jaff 5c757ba
fix(install.sh): use litellm.proxy.proxy_cli module (no __main__.py e…
ishaan-jaff 86162d7
fix(install.sh): suppress RuntimeWarning from module invocation
ishaan-jaff 2b3d8a1
fix(install.sh): use Python bin-dir litellm binary to avoid CWD sys.p…
ishaan-jaff 29fa7c0
fix(install.sh): use sysconfig.get_path('scripts') to find pip-instal…
ishaan-jaff fa1c412
fix(install.sh): redirect stdin from /dev/tty on exec so wizard gets …
ishaan-jaff cf1b12b
fix(install.sh): warn about git clone duration, drop --no-cache-dir s…
ishaan-jaff 8413fbc
feat(setup_wizard): arrow-key selector, updated model names
ishaan-jaff 967fd46
fix(setup_wizard): use sysconfig binary to start proxy, not python -m…
ishaan-jaff bab4f16
feat(setup_wizard): credential validation after key entry + clear nex…
ishaan-jaff d5b7b51
style(install.sh): show git clone warning in blue
ishaan-jaff cd85a3b
refactor(setup_wizard): class with static methods, use check_valid_ke…
ishaan-jaff 7ab9d06
address greptile review: fix yaml escaping, port validation, display …
ishaan-jaff 6d95dde
style: black format setup_wizard.py
ishaan-jaff 1fbf098
fix: address remaining greptile issues - Windows compat, YAML quoting…
ishaan-jaff d1aa702
fix: add --port to suggested command, guard /dev/tty exec in install.sh
ishaan-jaff 78f513f
fix: quote api_base in YAML, skip azure if no deployment, only redraw…
ishaan-jaff 0e77077
fix: address greptile review comments
ishaan-jaff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: ignore[possibly-unbound]masks a realNameErrorriskThe
# type: ignore[possibly-unbound]comment suppresses Pyright's warning thatlitellm_settingsmay not be assigned before this call. This variable is conditionally populated by the config-loading branch earlier inrun_server; ifconfigis falsy the conditionallitellm_settings if config else Noneguards against using an unbound name at runtime, but only in this one specific call site.If the code path is ever refactored and this guard is removed (or a second call site is introduced without it), a real
NameErrorcould reach production. The safer fix is to ensurelitellm_settingshas a well-typed default at the point of assignment, which would remove the need for the suppression comment entirely: