spring-ai
spring-ai copied to clipboard
Add AssistantPromptTemplate override method createMessage()
I found that when using the project, the MessageType
is still USER
instead of the expected ASSISTANT
when using AssistantPromptTemplate
.
I'm not sure if this issue is an oversight, a bug, or intentional. Therefore, I submitted this PR. If it's not an oversight or bug, please close the PR.