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>
11 lines
291 B
Python
11 lines
291 B
Python
from chemenu.domain.step_profile import StepProfile
|
|
|
|
|
|
def test_profile_values() -> None:
|
|
assert {p.name: p.value for p in StepProfile} == {
|
|
"ANALYSE": "analyse",
|
|
"WRITE": "write",
|
|
"CLASSIFY": "classify",
|
|
}
|
|
assert StepProfile("write") is StepProfile.WRITE
|