Open thekid opened 1 week ago
First response contains JSON when using text-only - happens frequently
It seeming helps to set modalities to text only in the session instead of just supplying it along with the response.create message.
$api->transmit([
'type' => 'session.update',
'session' => [
'instructions' => 'You are LernGPT.',
'turn_detection' => null,
'modalities' => ['text'],
],
]);
session.update
request<|is_landscape_image|><|clip|><|vq_clip_2420|>...
) on rare occasionsSee also