fix(claude): use correct key (#56)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-08-17 16:17:16 -04:00 committed by GitHub
parent af1f51455e
commit ad09ea6058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,7 +207,7 @@ Remember: Accurate line numbers are CRITICAL. The range start_line to end_line m
]]
local function call_claude_api_stream(question, code_lang, code_content, selected_code_content, on_chunk, on_complete)
local api_key = os.getenv(E.key("azure"))
local api_key = os.getenv(E.key("claude"))
local tokens = Config.claude.max_tokens
local headers = {