Would it make sense to allow agent selection this way?
autonomy.chooseAndRunAgent(Prompt(sessionMemory.get(conversationId)))
This would enable an easy way to pass the messages from a ChatClient conversation.
The question is, if the ranker is able to cope with these messages and rank agents according to the entire conversation. This probably depends on changes in the ranker?
Concatenating all messages to a single user input seems wrong.