Skip to content

Commit d168b60

Browse files
authored
FIX: Follow up fixes to microsoft#1185 (microsoft#1186)
1 parent b0b1901 commit d168b60

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
recursive-include pyrit *.csv
12
recursive-include pyrit *.json
23
recursive-include pyrit *.prompt
34
recursive-include pyrit *.yaml
45
recursive-include pyrit/datasets/seed_prompts *
5-
recursive-include pyrit/datasets/score/config/scorer_evals *
66
include pyrit/auxiliary_attacks/gcg/src/Dockerfile

doc/code/targets/8_openai_responses_target.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@
215215
" endpoint=os.getenv(\"PLATFORM_OPENAI_RESPONSES_ENDPOINT\"),\n",
216216
" api_key=os.getenv(\"PLATFORM_OPENAI_RESPONSES_KEY\"),\n",
217217
" model_name=os.getenv(\"PLATFORM_OPENAI_RESPONSES_MODEL\"),\n",
218-
" api_version=None,\n",
219218
" extra_body_parameters={\n",
220219
" \"tools\": [web_search_tool()],\n",
221220
" \"tool_choice\": \"auto\",\n",

doc/code/targets/8_openai_responses_target.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ async def get_current_weather(args):
140140
endpoint=os.getenv("PLATFORM_OPENAI_RESPONSES_ENDPOINT"),
141141
api_key=os.getenv("PLATFORM_OPENAI_RESPONSES_KEY"),
142142
model_name=os.getenv("PLATFORM_OPENAI_RESPONSES_MODEL"),
143-
api_version=None,
144143
extra_body_parameters={
145144
"tools": [web_search_tool()],
146145
"tool_choice": "auto",

0 commit comments

Comments
 (0)