first successful run of photo llm (#11)
Tests / test_and_lint (push) Successful in 11s

Reviewed-on: #11
Co-authored-by: Mathias Scheider <mathias2784@web.de>
This commit was merged in pull request #11.
This commit is contained in:
2026-10-02 08:16:20 +00:00
committed by mathias2784
parent 0c33153c98
commit 906707de55
7 changed files with 200 additions and 14 deletions
+13
View File
@@ -0,0 +1,13 @@
import pytest
from photools3.llm_session import LlmSession
@pytest.mark.skipif(
not LlmSession(system_prompt="").is_api_reachable(), reason="API not available"
)
def test_llm_session(llm_session, test_photo):
result = llm_session.call(
prompt="keywords for the attached picture", photos=[test_photo]
)
assert result