-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add integration tests * Fix bug found by integration tests * Move unit tests in `unit_tests` folder * allow absence of config file for unit tests * minor refactor * remove pytest asyncio mark * - fixes due to pr comments -add retries on " event loop is closed" error * minor refactor in project dependencies * refactor: remove pytest_asyncio * minor refactor * Minor fix in comment * Fix in naming * fix comment * another fix in test name and comment * update vision tests * Bunch of review fixes * comment typo * forgotten commit * reduce max tokens count, minor refactor * another bunch of review fixes * Another bunch of review fixes * More refactoring of text tests * minor fix * one more refactor of test cases
- Loading branch information
1 parent
99af39a
commit dc85806
Showing
30 changed files
with
1,167 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ __pycache__ | |
dist | ||
.vscode/launch.json | ||
.pytest_cache | ||
~* | ||
~* | ||
integration_test_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from enum import StrEnum, auto | ||
from enum import StrEnum | ||
|
||
|
||
class ChatCompletionDeploymentType(StrEnum): | ||
DALLE3 = auto() | ||
MISTRAL = auto() | ||
DATABRICKS = auto() | ||
GPT4_VISION = auto() | ||
GPT4O = auto() | ||
GPT4O_MINI = auto() | ||
GPT_TEXT_ONLY = auto() | ||
DALLE3 = "DALLE3" | ||
MISTRAL = "MISTRAL" | ||
DATABRICKS = "DATABRICKS" | ||
GPT4_VISION = "GPT4_VISION" | ||
GPT4O = "GPT4O" | ||
GPT4O_MINI = "GPT4O_MINI" | ||
GPT_TEXT_ONLY = "GPT_TEXT_ONLY" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from pydantic import BaseModel | ||
|
||
|
||
class ExtraAllowedModel(BaseModel): | ||
class Config: | ||
extra = "allow" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.