huangyz0918 / termax

Termax: an open-sourced implementation of Github Copilot CLI, with command suggestion, explanation, and power by LLMs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject the metadata by steps

huangyz0918 opened this issue · comments

Currently, we have many external knowledge:

  • Git information
  • Python environment
  • System information
  • GPU information
  • PATH information
  • Command history information

We don't need to fetch all of them whenever prompted, some information like system and GPU can be fetched only once and stored in the database for querying. We should tune the fetching frequency of different kinds of metadata to improve the system's performance.