You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying the idea of having a reducer for messages, which summarizes the old messages if it exceeds a count or token limit. Its working fine, but the problem I am facing is that the LLM call for summarization is not visible as a span in the LangFuse trace. Is it possible to get the RunnableConfig instance in the reducer so that I can include in the model invoke? Or can I get access the graph state in the reducer?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying the idea of having a reducer for messages, which summarizes the old messages if it exceeds a count or token limit. Its working fine, but the problem I am facing is that the LLM call for summarization is not visible as a span in the LangFuse trace. Is it possible to get the RunnableConfig instance in the reducer so that I can include in the model invoke? Or can I get access the graph state in the reducer?
Beta Was this translation helpful? Give feedback.
All reactions