#slow LLM config init
1 messages · Page 1 of 1 (latest)
It’s intentionally more expensive cause we need a not-easily-brute-forceable hash of the plaintext to use as the cache key, but it should be adding overhead of milliseconds.
Are those secrets from env vars?
env vars which contain op:// values:
DOTENV: |-
ANTHROPIC_API_KEY=op://RelEng/ANTHROPIC/API_KEY
GEMINI_API_KEY=op://RelEng/GEMINI/API_KEY
OPENAI_API_KEY=op://RelEng/OPEN_AI/API_KEY
oh so maybe it's fetching the plaintext twice for each? once to compute the hash, and then again when we call .plaintext?