summaryrefslogtreecommitdiff
path: root/dev-util/codex/files/codex-0.157.0-chatgpt-recursion-limit.patch
blob: 4c59b1c6bd1e6e0010792198eb0bc42a353f6734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
The connectors::list_connectors async future exceeds rustc's default query
depth of 128. Match the limit already used by codex-app-server.

--- a/chatgpt/src/lib.rs
+++ b/chatgpt/src/lib.rs
@@ -1,4 +1,6 @@
+#![recursion_limit = "256"]
+
 pub mod apply_command;
 mod chatgpt_client;
 pub mod connectors;
 pub mod get_task;