DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
Fix GPT-5 token limit parameter in init wizard probe (#508)
lezhimiffyliu121823600493
diff --git a/deeptutor_cli/init_wizard.py b/deeptutor_cli/init_wizard.pyindex a026e6f57..80e80b37f 100644--- a/deeptutor_cli/init_wizard.py+++ b/deeptutor_cli/init_wizard.py@@ -23,6 +23,7 @@ from rich.table import Tablefrom rich.text import Textimport typer+from deeptutor.services.llm.config import get_token_limit_kwargsfrom deeptutor.services.provider_registry import PROVIDERS, ProviderSpec, find_by_name# --- Featured selection ------------------------------------------------------@@ -794,7 +795,7 @@ def probe_llm(*, base_url: str, api_key: str, binding: str, model: str) -> tuple}body = {"model": model,- "max_tokens": 1,+ **get_token_limit_kwargs(model, 1),"messages": [{"role": "user", "content": "ping"}],}