Skip to content

fix llm stream subscription#17

Merged
stephmilovic merged 1 commit intostephmilovic:langchain_streamfrom
walterra:langchain_stream_walterra
Jan 30, 2024
Merged

fix llm stream subscription#17
stephmilovic merged 1 commit intostephmilovic:langchain_streamfrom
walterra:langchain_stream_walterra

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
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