Commit graph

4 commits

Author SHA1 Message Date
Rohan Mehta
2302b478af Fix streaming in chat completions 2025-03-12 17:17:07 -07:00
Rohan Mehta
fde49cfcf7 Add max_tokens and documentation to model settings 2025-03-12 13:35:10 -07:00
Muhammad Junaid
51d79bf141 fix: support assistant role in message conversion
- The _Converter.items_to_messages method was incorrectly rejecting 'assistant'
as a valid role in conversation messages, causing runtime errors when processing
standard chat completion message formats.
- This fix enables proper handling of
complete conversation contexts that include both user and assistant messages.
2025-03-12 21:10:03 +05:00
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00