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

fix llm stream subscription #17

Merged

Conversation

walterra
Copy link

  • Switched streamLog() to just stream() and then subscribe to the stream callbacks instead of the returned iterator.
  • Kibana server logs should now trigger STREAM.WRITE messages before the LLM reports the full message like [llm/end] [1:chain:AgentExecutor > 2:llm:ActionsClientChatOpenAI] [9.50s] Exiting LLM run with output: ....

@stephmilovic stephmilovic merged commit 7382a61 into stephmilovic:langchain_stream Jan 30, 2024
1 of 2 checks passed
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