Add StepProfile and LLM port with errors

Domain enum for step profiles and the LlmPort protocol with request,
response, usage and the LlmError hierarchy. Step names are validated
because they later become part of file paths.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
torbenandClaude Sonnet 5.5 committed 2026-12-04 22:06:58 +01:00
1 parent d4416e4e74
commit 140014f8bb
4 files changed
+166

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
"""Step profiles: which kind of model a step needs."""
from enum import StrEnum
class StepProfile(StrEnum):
"""Named by task; a new profile is a new member."""
ANALYSE = "analyse"
WRITE = "write"
CLASSIFY = "classify"