@@ -17,7 +17,7 @@ function createResponseResource(): array
1717 'metadata ' => [],
1818 'model ' => 'gpt-4o-2024-08-06 ' ,
1919 'output ' => [
20- outputMessage (),
20+ outputAnnotationMessage (),
2121 outputWebSearchToolCall (),
2222 outputFileSearchToolCall (),
2323 outputComputerToolCall (),
@@ -77,7 +77,7 @@ function retrieveResponseResource(): array
7777 'model ' => 'gpt-4o-2024-08-06 ' ,
7878 'output ' => [
7979 outputWebSearchToolCall (),
80- outputMessage (),
80+ outputAnnotationMessage (),
8181 ],
8282 'parallel_tool_calls ' => true ,
8383 'previous_response_id ' => null ,
@@ -249,7 +249,27 @@ function outputReasoning(): array
249249/**
250250 * @return array<string, mixed>
251251 */
252- function outputMessage (): array
252+ function outputBasicMessage (): array
253+ {
254+ return [
255+ 'content ' => [
256+ [
257+ 'annotations ' => [],
258+ 'text ' => 'This is a basic message. ' ,
259+ 'type ' => 'output_text ' ,
260+ ],
261+ ],
262+ 'id ' => 'msg_67ccf190ca3881909d433c50b1f6357e087bb177ab789d5c ' ,
263+ 'role ' => 'assistant ' ,
264+ 'status ' => 'completed ' ,
265+ 'type ' => 'message ' ,
266+ ];
267+ }
268+
269+ /**
270+ * @return array<string, mixed>
271+ */
272+ function outputAnnotationMessage (): array
253273{
254274 return [
255275 'content ' => [
0 commit comments