Added llm tests to the local test set.

This commit is contained in:
Adam Fourney
2024-12-17 12:13:19 -08:00
parent ad5d4fb139
commit 248d64edd0
9 changed files with 39 additions and 3 deletions

View File

@@ -847,8 +847,6 @@ class ImageConverter(MediaConverter):
if prompt is None or prompt.strip() == "":
prompt = "Write a detailed caption for this image."
sys.stderr.write(f"llm Prompt:\n{prompt}\n")
data_uri = ""
with open(local_path, "rb") as image_file:
content_type, encoding = mimetypes.guess_type("_dummy" + extension)