jenny-miromind commited on
Commit
a89cc59
·
verified ·
1 Parent(s): b22ca18

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -2
README.md CHANGED
@@ -109,6 +109,8 @@ max_tokens: 16384
109
 
110
  ### Recommended System Prompt
111
 
 
 
112
  <details>
113
  <summary>Click to expand system prompt example</summary>
114
 
@@ -226,14 +228,21 @@ Input JSON schema: {'properties': {'url': {'title': 'Url', 'type': 'string'}, 'i
226
  You accomplish a given task iteratively, breaking it down into clear steps and working through them methodically.
227
  ```
228
 
229
- Note: We use this unified XML-wrapped JSON format to describe and organize all MCP tools. If you have additional tools, please document them using the same structure and formatting to ensure consistent parsing, compatibility, and optimal performance across the MCP environment.
230
-
231
  </details>
232
 
233
  ### Minimal Runnable Example
234
 
235
  The following example shows how to run a MCP-style tool-calling workflow, including system prompt generation, model invocation, tool execution, and final response generation.
236
 
 
 
 
 
 
 
 
 
 
237
  ```python
238
  import json
239
  import os
 
109
 
110
  ### Recommended System Prompt
111
 
112
+ We use this unified XML-wrapped JSON format to describe and organize all tools. If you have additional tools, please document them using the same structure and formatting to ensure consistent parsing, compatibility, and optimal performance across the environment.
113
+
114
  <details>
115
  <summary>Click to expand system prompt example</summary>
116
 
 
228
  You accomplish a given task iteratively, breaking it down into clear steps and working through them methodically.
229
  ```
230
 
 
 
231
  </details>
232
 
233
  ### Minimal Runnable Example
234
 
235
  The following example shows how to run a MCP-style tool-calling workflow, including system prompt generation, model invocation, tool execution, and final response generation.
236
 
237
+ Before running the script, make sure to set the required environment variables:
238
+
239
+ ```bash
240
+ export OPENAI_API_KEY="your-api-key-here"
241
+ export BASE_URL="https://your-model-endpoint.example.com/v1"
242
+ ```
243
+
244
+ Example:
245
+
246
  ```python
247
  import json
248
  import os