You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug solved method
len(code_context)
213693
extremely large amount of code files are retrieved.
maybe retrieve only few context relevant files. and work on that with few iterations and summarize irrevelent part or using RAG to minimize the relevant data.
The text was updated successfully, but these errors were encountered:
Thank you for your suggestion! This issue indeed exists. In the new version, we no longer use WriteCode for code writing. Instead, we have introduced the Editor tool.
Bug description
code_context = await WriteCode.get_codes(
self.i_context.task_doc,
exclude=self.i_context.filename,
project_repo=self.repo.with_src_path(self.context.src_workspace),
use_inc=self.config.inc,
)
code context might exceed the llm max_token
Bug solved method
len(code_context)
213693
extremely large amount of code files are retrieved.
maybe retrieve only few context relevant files. and work on that with few iterations and summarize irrevelent part or using RAG to minimize the relevant data.
The text was updated successfully, but these errors were encountered: