Revert "implement deployment id"

This reverts commit b107db98fa.
This commit is contained in:
Paul Gauthier 2023-12-06 09:20:53 -08:00
parent b107db98fa
commit 57ab2cc9da
8 changed files with 13 additions and 21 deletions

View file

@ -4,7 +4,6 @@ from unittest.mock import MagicMock, patch
import httpx
import openai
from aider.models import Model
from aider.sendchat import send_with_retries
@ -28,7 +27,7 @@ class TestSendChat(unittest.TestCase):
]
# Call the send_with_retries method
send_with_retries(mock_client, Model.weak_model(), ["message"], None, False)
send_with_retries(mock_client, "model", ["message"], None, False)
mock_print.assert_called_once()
@patch("aider.sendchat.openai.ChatCompletion.create")
@ -43,5 +42,5 @@ class TestSendChat(unittest.TestCase):
]
# Call the send_with_retries method
send_with_retries(mock_client, Model.weak_model(), ["message"], None, False)
send_with_retries(mock_client, "model", ["message"], None, False)
mock_print.assert_called_once()