docs: update prompt for websearch example (#1520)

Summary:
model is sometimes reluctant to use tools by default.

Test Plan:
run in notebook
This commit is contained in:
ehhuang 2025-03-10 10:42:05 -07:00 committed by GitHub
parent a9c5d3cd3d
commit d045b8830f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1640,7 +1640,7 @@
"agent = Agent(\n",
" client, \n",
" model=model_id,\n",
" instructions=\"You are a helpful assistant\",\n",
" instructions=\"You are a helpful assistant. Use websearch tool to help answer questions.\",\n",
" tools=[\"builtin::websearch\"],\n",
")\n",
"user_prompts = [\n",