diff options
| author | Santtu Lakkala <inz@inz.fi> | 2025-02-13 08:36:34 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-02-13 08:36:34 +0100 |
| commit | af8a95bbf0b3709d605175da92b93ad1d0aa0bd3 (patch) | |
| tree | e42906a03f0d8cd45cad46803512b50bafc4956a /snac.h | |
| parent | 09803021648ea958a889cc2aa743d5f8c65ecbae (diff) | |
Limit JSON depth
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ #define MAX_THREADS 256 #endif +#ifndef MAX_JSON_DEPTH +#define MAX_JSON_DEPTH 8 +#endif + #ifndef MAX_CONVERSATION_LEVELS #define MAX_CONVERSATION_LEVELS 48 #endif |