docs: Update model usage statistics and dumb terminal message

This commit is contained in:
Paul Gauthier 2025-01-10 14:04:41 -08:00 committed by Paul Gauthier (aider)
parent 62498ec867
commit 50436e3106
5 changed files with 416 additions and 410 deletions

View file

@ -217,6 +217,7 @@ def check_streamlit_install(io):
def write_streamlit_credentials():
from streamlit.file_util import get_streamlit_file_path
# See https://github.com/Aider-AI/aider/issues/772
credential_path = Path(get_streamlit_file_path()) / "credentials.toml"
@ -635,6 +636,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
analytics.event("launched")
# ai
if args.gui and not return_coder:
if not check_streamlit_install(io):
analytics.event("exit", reason="Streamlit not installed")