mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refac
This commit is contained in:
parent
bc38fcde65
commit
02c9a30c45
4 changed files with 25 additions and 12 deletions
|
@ -227,7 +227,8 @@ def main(args=None, input=None, output=None):
|
|||
io.tool_error("No OpenAI API key provided. Use --openai-api-key or env OPENAI_API_KEY.")
|
||||
return 1
|
||||
|
||||
coder = Coder(
|
||||
coder = Coder.create(
|
||||
"diff",
|
||||
io,
|
||||
main_model=args.model,
|
||||
fnames=args.files,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue