From 96f399f881d5c95b6f9913ffd2ac2b50e34fddc3 Mon Sep 17 00:00:00 2001 From: patcher99 Date: Sun, 17 Mar 2024 10:54:25 +0530 Subject: [PATCH] update testing --- src/dokumetry/__init__.py | 1 - tests/test_openai.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dokumetry/__init__.py b/src/dokumetry/__init__.py index a354cf3..29f0f3a 100644 --- a/src/dokumetry/__init__.py +++ b/src/dokumetry/__init__.py @@ -52,7 +52,6 @@ def init(llm, doku_url, api_key, environment="default", application_name="defaul # pylint: disable=no-else-return, line-too-long if hasattr(llm, 'moderations') and callable(llm.chat.completions.create) and ('.openai.azure.com/' not in str(llm.base_url)): - print("OpenAI") if isinstance(llm, OpenAI): init_openai(llm, doku_url, api_key, environment, application_name, skip_resp) elif isinstance(llm, AsyncOpenAI): diff --git a/tests/test_openai.py b/tests/test_openai.py index bf753e5..c00d5ec 100644 --- a/tests/test_openai.py +++ b/tests/test_openai.py @@ -86,7 +86,7 @@ def test_fine_tuning_job_creation(): """ try: fine_tuning_job_resp = client.fine_tuning.jobs.create( - training_file="file-m36cc45komO83VJKAY1qVgeP", + training_file="file-BTkFuN0HKX3bAaOawvDtXgEe", model="gpt-3.5-turbo-1106" ) assert fine_tuning_job_resp.object == 'fine_tuning.job'