support reasoning_content field
https://github.com/neuron-core/neuron-ai/blob/a56d71f0433d27175c1d07911ac8e45563bd81a0/src/Providers/OpenAI/HandleChat.php#L82-L85
Improve the code:
```php
protected function createAssistantMessage(array $message): AssistantMessage
{
return new AssistantMessage([
new TextContent($message['content']),
new ReasoningContent($message['reasoning_content'] ?? '')
]);
}
```
0 条评论