mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
Fixed up images in chat
This commit is contained in:
parent
f1c09ececf
commit
0da1b59901
5 changed files with 14 additions and 29 deletions
|
@ -104,14 +104,3 @@ def show_messages(messages, title=None, functions=None):
|
|||
|
||||
if functions:
|
||||
dump(functions)
|
||||
|
||||
|
||||
# TODO: fix this
|
||||
def is_gpt4_with_openai_base_url(model_name):
|
||||
"""
|
||||
Check if the model_name starts with 'gpt-4' and the client base URL includes 'api.openai.com'.
|
||||
|
||||
:param model_name: The name of the model to check.
|
||||
:return: True if conditions are met, False otherwise.
|
||||
"""
|
||||
return model_name.startswith("gpt-4")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue