mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 13:15:00 +00:00
noop
This commit is contained in:
parent
68888faa6f
commit
79170839ee
1 changed files with 1 additions and 2 deletions
|
@ -568,9 +568,8 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
||||||
if args.openai_organization_id:
|
if args.openai_organization_id:
|
||||||
os.environ["OPENAI_ORGANIZATION"] = args.openai_organization_id
|
os.environ["OPENAI_ORGANIZATION"] = args.openai_organization_id
|
||||||
|
|
||||||
res = litellm.validate_environment(args.model)
|
|
||||||
|
|
||||||
# Is the model known and are all needed keys/params available?
|
# Is the model known and are all needed keys/params available?
|
||||||
|
res = litellm.validate_environment(args.model)
|
||||||
missing_keys = res.get("missing_keys")
|
missing_keys = res.get("missing_keys")
|
||||||
if missing_keys:
|
if missing_keys:
|
||||||
io.tool_error(f"To use model {args.model}, please set these environment variables:")
|
io.tool_error(f"To use model {args.model}, please set these environment variables:")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue