Files
pipecat/changelog/4352.fixed.2.md
2026-04-22 12:23:33 -04:00

365 B

  • Fixed direct-function registration crashing for functions without a docstring. DirectFunctionWrapper passed inspect.getdoc()'s result to docstring_parser.parse(), which raises when the docstring is None. Functions now register cleanly whether or not they have a docstring; an empty docstring produces empty description and parameter metadata as expected.