Skip to content

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
@MatKuhr MatKuhr closed this Dec 19, 2024
@MatKuhr MatKuhr deleted the streaming-spec-change branch December 19, 2024 08:11
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.

2 participants