Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: Streaming Spec Update #283

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

PoC: Streaming Spec Update #283

wants to merge 2 commits into from

Conversation

MatKuhr
Copy link
Member

@MatKuhr MatKuhr commented Nov 11, 2024

Testing a potential spec change for orchestration to fix the streaming inconsistency.

Before:

const choices: LlmChoice[] = result.data.orchestration_result.choices;

Type 'LlmChoice[] | LLMChoiceStreaming[]' is not assignable to type 'LlmChoice[]'.

After:
The above code now works 😉

@MatKuhr MatKuhr marked this pull request as draft November 11, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant