llama-index-llms-openai 0.6.5__tar.gz → 0.6.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-index-llms-openai
3
- Version: 0.6.5
3
+ Version: 0.6.7
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
@@ -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": "input_file",
364
+ "type": "file",
364
365
  "filename": block.title,
365
366
  "file_data": f"data:{mimetype};base64,{b64_string}",
366
367
  }
@@ -27,7 +27,7 @@ dev = [
27
27
 
28
28
  [project]
29
29
  name = "llama-index-llms-openai"
30
- version = "0.6.5"
30
+ version = "0.6.7"
31
31
  description = "llama-index llms openai integration"
32
32
  authors = [{name = "llama-index"}]
33
33
  requires-python = ">=3.9,<4.0"