diff --git a/.codegen.json b/.codegen.json index 307ce075..c7f6f7ce 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "a17cbb6", "specHash": "e7ce024", "version": "4.0.0" } +{ "engineHash": "35c5d34", "specHash": "e7ce024", "version": "4.0.0" } diff --git a/test/box_sdk_gen/test/ai_studio.py b/test/box_sdk_gen/test/ai_studio.py index 2e5ec7b1..f6ea78f2 100644 --- a/test/box_sdk_gen/test/ai_studio.py +++ b/test/box_sdk_gen/test/ai_studio.py @@ -75,17 +75,17 @@ def testUseAIAgentReferenceInAIAsk(): file_to_ask: FileFull = upload_new_file() response: Optional[AiResponseFull] = client.ai.create_ai_ask( CreateAiAskMode.SINGLE_ITEM_QA, - 'which direction sun rises', + 'Which direction does the Sun rise?', [ AiItemAsk( id=file_to_ask.id, type=AiItemAskTypeField.FILE, - content='Sun rises in the East', + content='The Sun rises in the east.', ) ], ai_agent=AiAgentReference(id=created_agent.id), ) - assert 'East' in response.answer + assert 'east' in response.answer assert response.completion_reason == 'done' assert len(response.ai_agent_info.models) > 0 client.files.delete_file_by_id(file_to_ask.id)