docs: update Agent documentation (#1333)

Summary:
- [new] Agent concepts (session, turn)
- [new] how to write custom tools
- [new] non-streaming API and how to get outputs
- [update] remaining `memory` -> `rag` rename
- [new] note importance of `instructions`

Test Plan:
read
This commit is contained in:
ehhuang 2025-03-01 22:34:52 -08:00 committed by GitHub
parent 46b0a404e8
commit 52977e56a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 170 additions and 64 deletions

View file

@ -149,7 +149,6 @@ agent_config = {
}
],
"tool_choice": "auto",
"tool_prompt_format": "json",
"input_shields": [],
"output_shields": [],
"enable_session_persistence": False,