Skip to content

non-streaming create_turn still streams under the covers #136

@thoraxe

Description

@thoraxe

System Info

N/A

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

A PR was merged for supporting "non-streaming," however, its code still relies on _create_turn_streaming under the covers:

0be2852#diff-b38e3fcdf146b8d15b63f07ee0a4b6f0080d202da0381373bac8e8edf289f5c1R81-R93

This was from #104

It doesn't look like this "supports" non-streaming, other than not breaking if stream=False is set on the create_turn.

Also note that because of llamastack/llama-stack#1045 it may be impossible for community members to fix this.

Error logs

N/A

Expected behavior

create_turn when stream=false should not use streaming on the provider request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions