mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
* feat(docker): manage a quickstart install with status, stop, start, and uninstall Rerunning either quickstart now opens a menu for the existing install instead of installing again, and both scripts take an action: status, start (up), stop (down), restart, logs, open, update, uninstall Each install gets a litellm-gateway command (litellm-gateway.cmd on Windows) in its folder, linked into ~/.local/bin when that is on PATH, so stopping and starting no longer means finding the containers by hand - stop keeps the database; uninstall asks before deleting it, keeps the images unless asked, and checks for leftovers - a busy port names the process holding it - -y / -Yes answers every question for scripts and CI * chore(docker): run the quickstart on the latest image instead of main-stable The docs mark main-stable as deprecated, and on the registry both tags point at the same image digest today. The quickstart is for local evaluation, and the file already says to pin a release tag for anything beyond that * fix(docker): trust a container's compose project label only when it is a valid project name When another container holds the port, the quickstart offers to stop it with docker compose -p <project> stop, taking the project from the container's label. Whoever started the container sets that label, and quickstart.sh split it into words, so a crafted label could add arguments to the stop command - a label Compose would not accept as a project name now counts as no project, and the container is stopped by name instead - quickstart.sh runs the stop with quoted arguments rather than splitting a command string * feat(docker): show how many requests the quickstart gateway has handled The status box, shown by litellm-gateway status and by the rerun menu, gains a Requests row, so a quick test shows the gateway is working - the count comes from /global/activity with the admin key from .env, failed requests included; curl reads the key from stdin, off the command line - the row is left out when the gateway cannot say, such as an older image - help is now listed in the usage text; help, -h, and --help already printed it * fix(docker): move to a free port instead of stopping an unrelated container When an install's saved port is taken, the quickstart now only offers to stop the holder if it is another quickstart install. For anything else it offers the next free port and saves it in .env, so it never stops someone else's app. A port set through LITELLM_PORT is never moved. |
||
|---|---|---|
| .. | ||
| adaptive_router_demo | ||
| health_check | ||
| lens_assets | ||
| trace_codegen | ||
| auto-close-duplicates.test.ts | ||
| auto-close-duplicates.ts | ||
| benchmark_anthropic_messages_perf.py | ||
| benchmark_chat_completions_perf.py | ||
| benchmark_mock.py | ||
| benchmark_model_response_creator.py | ||
| benchmark_ocr_callbacks.py | ||
| benchmark_proxy_vs_provider.py | ||
| benchmark_streaming_chunk_overhead.py | ||
| build_core_distribution.py | ||
| check_mcp_operation_boundary.py | ||
| check_mcp_sdk_install.py | ||
| check_openapi_docs.py | ||
| check_schema_compatibility.py | ||
| check_test_quality.py | ||
| check_type_discipline.py | ||
| classify-issue.test.ts | ||
| classify-issue.ts | ||
| comment-fixed-issue.test.ts | ||
| comment-fixed-issue.ts | ||
| create_litellm_branch.ps1 | ||
| create_litellm_branch.sh | ||
| create_team_key_and_submit_guardrail.sh | ||
| default_branch.py | ||
| eval_compression.py | ||
| flag-duplicate-issue.test.ts | ||
| flag-duplicate-issue.ts | ||
| gate_slot_lock.py | ||
| generate_trace_types.py | ||
| install-cli.sh | ||
| install.sh | ||
| install_git_hooks.sh | ||
| issue-labels.ts | ||
| label-issue.test.ts | ||
| label-issue.ts | ||
| lint_base_counts.py | ||
| mock_bedrock_passthrough_target.py | ||
| mock_grayswan_timeout_server.py | ||
| mutation_report.py | ||
| openapi_docs_gate.py | ||
| pre_commit_lint.sh | ||
| prisma_generate_if_needed.py | ||
| quickstart.ps1 | ||
| quickstart.sh | ||
| ruff_strict_gate.py | ||
| seed_request_logs.py | ||
| seed_tracing_fixtures.py | ||
| sync-issue-labels.test.ts | ||
| sync-issue-labels.ts | ||
| sync_together_ai_models.py | ||
| test_agent_mcp_endpoints.sh | ||
| test_guardrails_register_endpoints.sh | ||
| test_quality_gate.py | ||
| test_tool_allowlist_script.py | ||
| tpm_headline_test.sh | ||
| type_check_gate.py | ||
| type_discipline_gate.py | ||
| verify_adaptive_router.py | ||
| with_dashboard_node.sh | ||