mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 05:05:01 +00:00
refactor: change tool_error to tool_warning for non-critical messages
This commit is contained in:
parent
00fa9efba4
commit
dff814a7a8
8 changed files with 61 additions and 57 deletions
|
@ -742,11 +742,11 @@ def sanity_check_model(io, model):
|
|||
|
||||
if model.missing_keys:
|
||||
show = True
|
||||
io.tool_error(f"Model {model}: Environment variables status:")
|
||||
io.tool_warning(f"Model {model}: Environment variables status:")
|
||||
for key in model.missing_keys:
|
||||
value = os.environ.get(key, "")
|
||||
status = "✓ Set" if value else "✗ Not set"
|
||||
io.tool_error(f"- {key}: {status}")
|
||||
io.tool_warning(f"- {key}: {status}")
|
||||
|
||||
if platform.system() == "Windows" or True:
|
||||
io.tool_output(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue