mirror of
https://github.com/simonw/llm-claude-3.git
synced 2025-01-23 19:28:29 +03:00
PDF attachment support for Claude 3.5 Sonnet, refs #22
This commit is contained in:
@@ -43,10 +43,7 @@ EXPECTED_IMAGE_TEXT = (
|
||||
@pytest.mark.vcr
|
||||
def test_image_prompt():
|
||||
model = llm.get_model("claude-3.5-sonnet")
|
||||
model.key = (
|
||||
model.key
|
||||
or "sk-..."
|
||||
)
|
||||
model.key = model.key or "sk-..."
|
||||
response = model.prompt(
|
||||
"Describe image in three words",
|
||||
attachments=[llm.Attachment(content=TINY_PNG)],
|
||||
|
||||
Reference in New Issue
Block a user