Fix invalid notebook format in Assistants API overview (#1681)

This commit is contained in:
damon-openai 2025-02-17 08:23:01 -08:00 committed by GitHub
parent f237586d80
commit a3e98ea4dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,7 +193,7 @@
" 'response_format': 'auto',\n", " 'response_format': 'auto',\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
" 'tool_resources': {'code_interpreter': None, 'file_search': None},\n", " 'tool_resources': {'code_interpreter': None, 'file_search': None},\n",
" 'top_p': 1.0}" " 'top_p': 1.0}",
" 'tools': [],\n", " 'tools': [],\n",
" 'response_format': 'auto',\n", " 'response_format': 'auto',\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
@ -260,7 +260,7 @@
" 'created_at': 1736340398,\n", " 'created_at': 1736340398,\n",
" 'metadata': {},\n", " 'metadata': {},\n",
" 'object': 'thread',\n", " 'object': 'thread',\n",
" 'tool_resources': {'code_interpreter': None, 'file_search': None}}" " 'tool_resources': {'code_interpreter': None, 'file_search': None}}",
" 'object': 'thread',\n", " 'object': 'thread',\n",
" 'tool_resources': {'code_interpreter': None, 'file_search': None}}" " 'tool_resources': {'code_interpreter': None, 'file_search': None}}"
] ]
@ -840,7 +840,7 @@
" 'response_format': 'auto',\n", " 'response_format': 'auto',\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
" 'tool_resources': {'code_interpreter': {'file_ids': []}, 'file_search': None},\n", " 'tool_resources': {'code_interpreter': {'file_ids': []}, 'file_search': None},\n",
" 'top_p': 1.0}" " 'top_p': 1.0}",
" 'tools': [{'type': 'code_interpreter'}],\n", " 'tools': [{'type': 'code_interpreter'}],\n",
" 'response_format': 'auto',\n", " 'response_format': 'auto',\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
@ -1475,7 +1475,7 @@
" 'usage': None,\n", " 'usage': None,\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
" 'top_p': 1.0,\n", " 'top_p': 1.0,\n",
" 'tool_resources': {}}" " 'tool_resources': {}}",
" 'strict': False},\n", " 'strict': False},\n",
" 'type': 'function'}],\n", " 'type': 'function'}],\n",
" 'truncation_strategy': {'type': 'auto', 'last_messages': None},\n", " 'truncation_strategy': {'type': 'auto', 'last_messages': None},\n",
@ -1647,7 +1647,7 @@
" 'usage': None,\n", " 'usage': None,\n",
" 'temperature': 1.0,\n", " 'temperature': 1.0,\n",
" 'top_p': 1.0,\n", " 'top_p': 1.0,\n",
" 'tool_resources': {}}" " 'tool_resources': {}}",
" 'strict': False},\n", " 'strict': False},\n",
" 'type': 'function'}],\n", " 'type': 'function'}],\n",
" 'truncation_strategy': {'type': 'auto', 'last_messages': None},\n", " 'truncation_strategy': {'type': 'auto', 'last_messages': None},\n",