Skip to content
Discussion options

You must be logged in to vote

1448376744 (@soul-soft), thanks for the question.

The problem with requiring ChatClientAgent to expose the leaf ChatClient is that it doesn't necessarily have access to this either. When using UseProvidedChatClientAsIs = true, the expectation is that the developer would have built a custom stack, which would include decorators for Function Invocation and potentially many more. In this case ChatClientAgent faces the same issue as you are describing.

Even with UseProvidedChatClientAsIs = true the ChatClient provided may not be a leaf node. It could already be decorated or be a ChatClient that switches between other chat clients.

I believe that the only option that will work reliably is opti…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by soul-soft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants