Refactored, added comprehensive testing.
All checks were successful
Release / release (push) Successful in 3m17s

This commit is contained in:
Jay
2025-10-26 23:23:43 -04:00
parent ec32b75267
commit 1936f055e2
61 changed files with 4678 additions and 769 deletions

3
api/testdata/ollama_no_response.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"model": "llama3"
}

3
api/testdata/ollama_success.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"response": "This is the Ollama response."
}

View File

@@ -0,0 +1,3 @@
{
"choices": []
}

9
api/testdata/openai_success.json vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"choices": [
{
"message": {
"content": "This is the response text."
}
}
]
}