Commit 5b81385
authored
fix: change
# Description
The current max content length for file attachment in an A2A request is
only 1mb which is too small for most files. Change MAX_CONTENT_LENGTH to
be larger size (10mb). (Note currently we only have this limit for
json-rpc)MAX_CONTENT_LENGTH (for file attachment) in json-rpc to be larger size (10mb) (#518)1 parent d585635 commit 5b81385
File tree
3 files changed
+50
-20
lines changed- src/a2a/server/apps/jsonrpc
- tests/server/apps/jsonrpc
3 files changed
+50
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
149 | 137 | | |
150 | 138 | | |
151 | 139 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments