feat(state-hub): integrate llm-connect as dependency (S3.1)

Add llm-connect as an editable local dependency via [tool.uv.sources].
Creates tests/test_llm_connect_integration.py: 7 offline smoke tests
covering public symbol imports, MockLLMAdapter execute/reset, RunConfig
and LLMResponse fields, and ErrorLLMAdapter error propagation.

All 7 tests pass. Satisfies workstream llm-shared-library S3.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 08:32:17 +01:00
parent f8e76deeaa
commit e94d7d445b
4 changed files with 103 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ dependencies = [
"fastmcp>=2.0.0",
"python-dotenv>=1.0.0",
"psycopg2-binary>=2.9.0",
"llm-connect",
]
[project.scripts]
@@ -28,6 +29,9 @@ build-backend = "hatchling.build"
packages = ["api", "mcp_server"]
artifacts = ["custodian_cli.py"]
[tool.uv.sources]
llm-connect = { path = "/home/worsch/llm-connect", editable = true }
[tool.uv]
dev-dependencies = [
"pytest>=8.0.0",