|
|
|
|
|
by anotherpaulg
1168 days ago
|
|
Ya, I played with giving a ReAct loop access to some python `jedi` tools for navigating a python code base. Considered wiring up language server protocol (LSP) into the ReAct toolchain as well, but couldn't find easy bindings for that. There's 2 pieces to this puzzle: 1. Condensing the code based to fit into the context window. 2. Getting GPT to generate good code modifications. A big stumbling block I have encountered with all of these approaches is that when you feed GPT condensed code it tends to GENERATE similarly condensed code. It doesn't fill in the details for the new code it's supposed to be writing. Rather it just generates stubs and comments like it was shown. |
|