mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Apply linter formatting to models.py
This commit is contained in:
parent
ff1230c3ae
commit
b9f4f3f71c
1 changed files with 8 additions and 8 deletions
|
@ -492,7 +492,7 @@ class Model(ModelSettings):
|
|||
|
||||
model = self.name
|
||||
|
||||
pieces = model.split('/')
|
||||
pieces = model.split("/")
|
||||
if len(pieces) > 1:
|
||||
provider = pieces[0]
|
||||
else:
|
||||
|
@ -504,7 +504,7 @@ class Model(ModelSettings):
|
|||
deepseek="DEEPSEEK_API_KEY",
|
||||
gemini="GEMINI_API_KEY",
|
||||
anthropic="ANTHROPIC_API_KEY",
|
||||
groq = "GROQ_API_KEY"
|
||||
groq="GROQ_API_KEY",
|
||||
)
|
||||
var = None
|
||||
if model in OPENAI_MODELS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue