Draft: Allow for custom OPENAI_API_KEY in rag_service
closes #1728
Had do modify the parser of env variables because it did not block the request which meant that the rag_service started before the API key has actually been parsed.
Also I noticed that sometimes I start typing before 1pw has loaded the creds. I now set the parser to synchronously load the variables always which fixes it for me. However, I can see that this might not be optimal for everyone.
Should we provide this (very technical) option through lua config or maybe still do it always and maybe add another pre_fetch function which populates the cache?
This seems to be already implemented. See https://github.com/yetone/avante.nvim/wiki#secrets
This seems to be already implemented. See https://github.com/yetone/avante.nvim/wiki#secrets
haven't checked yet if there was an update but when I made the PR, it was only possible to use the cmd secrets for the "normal" API keys, not the API key used for the rag service. However, I just rebased my branch and seems like there's been some work in regards to the RAG API key, will check and close this PR if so
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR was closed because it has been stalled for 10 days with no activity.