Closed joowon-dm-snu closed 7 months ago
All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.
Currently, it's cumbersome to track when the creation is interrupted due to exceeding the max tokens. In C#, it would be helpful to include a finish_reason in the ChatModelResult so that developers can handle it when the max_token is exceeded.
While Python currently only returns a simple string, I hope it to be changed to return an ChatModelResult object, similar to C#. (If these need to be opened as separate issues, I will split them accordingly)
I am using the Python version and indirectly controlling it through the following method: