llama-index-llms-openai 0.6.5__py3-none-any.whl → 0.6.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- llama_index/llms/openai/utils.py +3 -2
- {llama_index_llms_openai-0.6.5.dist-info → llama_index_llms_openai-0.6.7.dist-info}/METADATA +1 -1
- {llama_index_llms_openai-0.6.5.dist-info → llama_index_llms_openai-0.6.7.dist-info}/RECORD +5 -5
- {llama_index_llms_openai-0.6.5.dist-info → llama_index_llms_openai-0.6.7.dist-info}/WHEEL +0 -0
- {llama_index_llms_openai-0.6.5.dist-info → llama_index_llms_openai-0.6.7.dist-info}/licenses/LICENSE +0 -0
llama_index/llms/openai/utils.py
CHANGED
|
@@ -63,7 +63,6 @@ O1_MODELS: Dict[str, int] = {
|
|
|
63
63
|
"gpt-5-mini-2025-08-07": 400000,
|
|
64
64
|
"gpt-5-nano": 400000,
|
|
65
65
|
"gpt-5-nano-2025-08-07": 400000,
|
|
66
|
-
"gpt-5-chat-latest": 400000,
|
|
67
66
|
"gpt-5-pro": 400000,
|
|
68
67
|
"gpt-5-pro-2025-10-06": 400000,
|
|
69
68
|
}
|
|
@@ -119,6 +118,8 @@ GPT4_MODELS: Dict[str, int] = {
|
|
|
119
118
|
"gpt-4.1-2025-04-14": 1047576,
|
|
120
119
|
"gpt-4.1-mini-2025-04-14": 1047576,
|
|
121
120
|
"gpt-4.1-nano-2025-04-14": 1047576,
|
|
121
|
+
# Latest GPT-5-chat supports setting temperature, so putting it here
|
|
122
|
+
"gpt-5-chat-latest": 128000,
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
AZURE_TURBO_MODELS: Dict[str, int] = {
|
|
@@ -360,7 +361,7 @@ def to_openai_message_dict(
|
|
|
360
361
|
mimetype = block._guess_mimetype()
|
|
361
362
|
content.append(
|
|
362
363
|
{
|
|
363
|
-
"type": "
|
|
364
|
+
"type": "file",
|
|
364
365
|
"filename": block.title,
|
|
365
366
|
"file_data": f"data:{mimetype};base64,{b64_string}",
|
|
366
367
|
}
|
|
@@ -2,8 +2,8 @@ llama_index/llms/openai/__init__.py,sha256=8nmgixeXifQ4eVSgtCic54WxXqrrpXQPL4rhA
|
|
|
2
2
|
llama_index/llms/openai/base.py,sha256=AYVlujytA5HUndX0CojRN4Hdu2e_kq_cJ1LhXNiy-SA,44696
|
|
3
3
|
llama_index/llms/openai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
llama_index/llms/openai/responses.py,sha256=R7Y0GRptw5tXKQKiz9Mt-lrB6VLNG6HruMvZXiFUrYM,38012
|
|
5
|
-
llama_index/llms/openai/utils.py,sha256=
|
|
6
|
-
llama_index_llms_openai-0.6.
|
|
7
|
-
llama_index_llms_openai-0.6.
|
|
8
|
-
llama_index_llms_openai-0.6.
|
|
9
|
-
llama_index_llms_openai-0.6.
|
|
5
|
+
llama_index/llms/openai/utils.py,sha256=ndd8F1eaqsUGYmlUO1lW2Y0aW4x0FQxOslgZ6dcU17c,33554
|
|
6
|
+
llama_index_llms_openai-0.6.7.dist-info/METADATA,sha256=QcTdaUUKJy-bjl2M5P81fHiGuIhRhQrGWE18thn2qU4,3039
|
|
7
|
+
llama_index_llms_openai-0.6.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
llama_index_llms_openai-0.6.7.dist-info/licenses/LICENSE,sha256=JPQLUZD9rKvCTdu192Nk0V5PAwklIg6jANii3UmTyMs,1065
|
|
9
|
+
llama_index_llms_openai-0.6.7.dist-info/RECORD,,
|
|
File without changes
|
{llama_index_llms_openai-0.6.5.dist-info → llama_index_llms_openai-0.6.7.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|