Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix context generation order in chat skill (microsoft#653)
### Motivation and Context The chat function generates the final prompt by populating it with multiple contexts. Each context is constrained by a token limit except the last one, which is chat history. The chat function will fill up the prompt with chat history to reach the token limit. A bug was discovered that the chat history context was not the last context. ### Description Move chat history to the end of the prompt.
- Loading branch information