joshpxyne / gpt-migrate

Easily migrate your codebase from one framework or language to another.
https://gpt-migrate.com
MIT License
6.85k stars 485 forks source link

Decomposing functions/endpoints #1

Closed joshpxyne closed 1 year ago

joshpxyne commented 1 year ago

Currently the source function ingests the entire file at once which will not work for larger API files. We'll need to go endpoint by endpoint and isolate dependency functions either in-file or in other files. With these, we should keep track of functions already writtend (file:function_name) in the LLM memory in order to avoid redundancy.

joshpxyne commented 1 year ago

For larger files, solving with issue #2