first successful run of photo llm
Tests / test_and_lint (push) Failing after 11s

This commit is contained in:
2026-10-01 23:32:13 +02:00
parent 0c33153c98
commit a6f913cfab
5 changed files with 111 additions and 11 deletions
+14
View File
@@ -0,0 +1,14 @@
from photools3.llm_session import LlmSession
from photools3.photo import Photo
from test.test_photo import PATHS_DNG_EXAMPLES
llm_session = LlmSession(system_prompt="You are a helpful assistent to photographer")
test_photo = Photo(PATHS_DNG_EXAMPLES[0])
def test_llm_session():
result = llm_session.call(
prompt="keywords for the attaches picture", photos=[test_photo]
)
assert result