You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document.parts() raises NotImplementedError instead of returning empty list #636
Document in mellea/stdlib/components/docs/document.py is a concrete class that users instantiate directly, but parts() raises NotImplementedError (inherited stub from the Component Protocol).
When a Document is passed inside a Message to act()/aact(), the framework calls generate_walk() → parts() → crash.
The sibling RichDocument handles this correctly by returning [].
Suggested fix:Document.parts() should return [] (or [CBlock(self.text)]).
Activity
fix: Document.parts() returns [] instead of raising NotImplementedError
docs: fix 5 runtime errors found in PR review (E2, E4, E6, E7, E8)
docs: fix 5 runtime errors found in PR review (E2, E4, E6, E7, E8)
fix: Document.parts() returns [] instead of raising NotImplementedError
fix: Document.parts() returns [] instead of raising NotImplementedError
docs: complete developer documentation rewrite (#480) (#601)
fix: Document.parts() returns [] instead of raising NotImplementedErr…
docs: complete developer documentation rewrite (generative-computing#480
fix: Document.parts() returns [] instead of raising NotImplementedErr…