Skip to content
Discussion options

You must be logged in to vote

@megakoresh Yes, autocompletion automatically includes project context. This context is created dynamically - when you code, open a file, etc.. and it takes some time until it collects enough chunks (max number of context chunks is determined by Ring_n_chunks setting). I guess after some time the completions will start to adhere to conventions of your codebase.

If you want to see the context, which is sent to the LLM for code completion - copy it to the buffer by pressing Ctrl+Shift+, and after that paste it in a text file. See the "Extra context:" section.

RAG and embeddings are used for the agents, not for code completion. There is no vector database (for simplicity). Indexing on openin…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@megakoresh
Comment options

@igardev
Comment options

@megakoresh
Comment options

@Stampede
Comment options

@igardev
Comment options

Answer selected by megakoresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants