inspect-ai 0.3.77__py3-none-any.whl → 0.3.78__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.
- inspect_ai/model/_openai_responses.py +7 -1
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/METADATA +1 -1
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/RECORD +7 -7
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/WHEEL +0 -0
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/entry_points.txt +0 -0
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/licenses/LICENSE +0 -0
- {inspect_ai-0.3.77.dist-info → inspect_ai-0.3.78.dist-info}/top_level.txt +0 -0
@@ -73,11 +73,17 @@ async def openai_responses_input(
|
|
73
73
|
elif message.role == "assistant":
|
74
74
|
reasoning_content = openai_responses_reasponing_content_params(message.content)
|
75
75
|
if message.content:
|
76
|
+
formatted_id = str(message.id).replace("resp_", "msg_", 1)
|
77
|
+
if not formatted_id.startswith("msg_"):
|
78
|
+
# These messages MUST start with `msg_`.
|
79
|
+
# As `store=False` for this provider, OpenAI doesn't validate the IDs.
|
80
|
+
# This will keep them consistent across calls though.
|
81
|
+
formatted_id = f"msg_{formatted_id}"
|
76
82
|
text_content = [
|
77
83
|
ResponseOutputMessageParam(
|
78
84
|
type="message",
|
79
85
|
role="assistant",
|
80
|
-
id=
|
86
|
+
id=formatted_id,
|
81
87
|
content=openai_responses_text_content_params(message.content),
|
82
88
|
status="completed",
|
83
89
|
)
|
@@ -460,7 +460,7 @@ inspect_ai/model/_model.py,sha256=LaRXqKvM2fl9HGCQAdrOOkNryfYU970LZGsyOxk1o00,48
|
|
460
460
|
inspect_ai/model/_model_call.py,sha256=VJ8wnl9Y81JaiClBYM8eyt1jVb3n-yc6Dd88ofRiJDc,2234
|
461
461
|
inspect_ai/model/_model_output.py,sha256=1picjX2Y0NSmEZ-vdQi42QAx3QvMcWVRn8pXP2wtmN8,7733
|
462
462
|
inspect_ai/model/_openai.py,sha256=3_lQ3u-WJ8BOY5bMLM49LvAePzCZAn57Vi2SNLrWPm4,19093
|
463
|
-
inspect_ai/model/_openai_responses.py,sha256=
|
463
|
+
inspect_ai/model/_openai_responses.py,sha256=qav1Fj2R-DOCkUfkrtGxV_PeT578mBZNwKt-yL4bmT0,10049
|
464
464
|
inspect_ai/model/_reasoning.py,sha256=qmR8WT6t_cb7NIsJOQHPyFZh2eLV0HmYxKo2vtvteQ4,929
|
465
465
|
inspect_ai/model/_registry.py,sha256=Cr2y32EqLnOqLbSWoXHVK4ivTTzCUhJuACxoTyPt8kY,2032
|
466
466
|
inspect_ai/model/_render.py,sha256=rWypNUjgrH4NGp0r-ESAze9gZz7lYNjheEP438vRYZE,922
|
@@ -627,9 +627,9 @@ inspect_ai/util/_sandbox/docker/internal.py,sha256=c8X8TLrBPOvsfnq5TkMlb_bzTALyc
|
|
627
627
|
inspect_ai/util/_sandbox/docker/prereqs.py,sha256=0j6_OauBBnVlpBleADcZavIAAQZy4WewVjbRn9c0stg,3355
|
628
628
|
inspect_ai/util/_sandbox/docker/service.py,sha256=hhHIWH1VDFLwehdGd19aUBD_VKfDO3GCPxpw1HSwVQk,2437
|
629
629
|
inspect_ai/util/_sandbox/docker/util.py,sha256=EeInihCNXgUWxaqZ4dNOJd719kXL2_jr63QCoXn68vA,3154
|
630
|
-
inspect_ai-0.3.
|
631
|
-
inspect_ai-0.3.
|
632
|
-
inspect_ai-0.3.
|
633
|
-
inspect_ai-0.3.
|
634
|
-
inspect_ai-0.3.
|
635
|
-
inspect_ai-0.3.
|
630
|
+
inspect_ai-0.3.78.dist-info/licenses/LICENSE,sha256=xZPCr8gTiFIerrA_DRpLAbw-UUftnLFsHxKeW-NTtq8,1081
|
631
|
+
inspect_ai-0.3.78.dist-info/METADATA,sha256=NNzcpeDyLChQBQ9aFqlE2iVcY-sod8sd5B72_pI2qq8,4997
|
632
|
+
inspect_ai-0.3.78.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
|
633
|
+
inspect_ai-0.3.78.dist-info/entry_points.txt,sha256=WGGLmzTzDWLzYfiyovSY6oEKuf-gqzSDNOb5V-hk3fM,54
|
634
|
+
inspect_ai-0.3.78.dist-info/top_level.txt,sha256=Tp3za30CHXJEKLk8xLe9qGsW4pBzJpEIOMHOHNCXiVo,11
|
635
|
+
inspect_ai-0.3.78.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|