Skip to content

Commit 0f6bd01

Browse files
Copilotlpcox
andcommitted
Document payload size threshold configuration in README
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 449bf26 commit 0f6bd01

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ For the complete JSON configuration specification with all validation rules, see
127127
"apiKey": "your-api-key",
128128
"domain": "localhost",
129129
"startupTimeout": 30,
130-
"toolTimeout": 60
130+
"toolTimeout": 60,
131+
"payloadDir": "/tmp/jq-payloads",
132+
"payloadSizeThreshold": 1024
131133
}
132134
}
133135
```
@@ -194,6 +196,12 @@ See **[Configuration Specification](https://github.com/github/gh-aw/blob/main/do
194196
- Must be positive integer
195197
- **`toolTimeout`** (optional): Seconds to wait for tool execution (default: 120)
196198
- Must be positive integer
199+
- **`payloadDir`** (optional): Directory for storing large payload files (default: `/tmp/jq-payloads`)
200+
- Payloads are organized by session: `{payloadDir}/{sessionID}/{queryID}/payload.json`
201+
- **`payloadSizeThreshold`** (optional): Size threshold in bytes for payload storage (default: 1024)
202+
- Payloads **larger** than this threshold are stored to disk and return metadata
203+
- Payloads **smaller than or equal** to this threshold are returned inline
204+
- Common values: `512` (aggressive), `1024` (default), `2048` (balanced), `10240` (minimal storage)
197205

198206
**Note**: Gateway configuration fields are validated and parsed but not yet fully implemented.
199207

0 commit comments

Comments
 (0)