Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
update testing
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 17, 2024
1 parent 22461e8 commit 96f399f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/dokumetry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 96f399f

Please sign in to comment.