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:
1 parent
d4416e4e74
commit
140014f8bb
4 files changed
+166
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user