Skip to content

Commit 1344e64

Browse files
Update code-interpreter.md
Fixed a spelling error that prevents the code from running properly
1 parent 19b30ff commit 1344e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/how-to/code-interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ assistant = client.beta.assistants.create(
138138
instructions="You are an AI assistant that can write code to help answer math questions.",
139139
model="gpt-4-1106-preview",
140140
tools=[{"type": "code_interpreter"}],
141-
tool_resources={"code interpreter":{"file_ids":[file.id]}}
141+
tool_resources={"code_interpreter":{"file_ids":[file.id]}}
142142
)
143143
```
144144

0 commit comments

Comments
 (0)