Skip to content

Commit bede3df

Browse files
Correct variable name from system_message to developer_message and also Python tool description (#1991)
1 parent 33cae36 commit bede3df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/openai-harmony.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ developer_message = (
9797
convo = Conversation.from_messages(
9898
[
9999
Message.from_role_and_content(Role.SYSTEM, system_message),
100-
Message.from_role_and_content(Role.DEVELOPER, system_message),
100+
Message.from_role_and_content(Role.DEVELOPER, developer_message),
101101
Message.from_role_and_content(Role.USER, "What is the weather in Tokyo?"),
102102
Message.from_role_and_content(
103103
Role.ASSISTANT,
@@ -567,7 +567,7 @@ When you send a message containing Python code to python, it will be executed in
567567
# Valid channels: analysis, commentary, final. Channel must be included for every message.<|end|>
568568
```
569569

570-
If the model decides to call actions in the browser it will use the same format as for [function calls](#function-calling) with two notable exceptions:
570+
If the model decides to execute Python code it will use the same format as for [function calls](#function-calling) with two notable exceptions:
571571

572572
3. Requests will be made to the `analysis` channel
573573
4. The recipient will always be `python`

0 commit comments

Comments
 (0)