Skip to content

Tool calling polish: streaming docs, error consistency, typing #227

Description

@Kamilbenkirane

Priority: Low
Related: #199

Minor polish items:

  • OpenResponses streaming: _response_data pattern is an undocumented workaround for late-arrival data — add docstring explaining why
  • Streaming override: Tool call parsing not cleanly overridable via virtual method hook in protocol base classes
  • Schema name generation: TextFormatMapper uses inner_type.__name__ which could fail if type lacks __name__

Files:

  • src/celeste/modalities/text/providers/openresponses/client.py:53-69
  • src/celeste/modalities/text/protocols/chatcompletions/client.py
  • src/celeste/protocols/openresponses/parameters.py:60

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions