refactor: quotes

This commit is contained in:
2026-02-11 09:45:42 +02:00
parent b6457ecfac
commit 62bb06793d

View File

@@ -8,12 +8,12 @@ return {
name = 'anthropic', name = 'anthropic',
endpoint = 'https://api.anthropic.com/v1/messages', endpoint = 'https://api.anthropic.com/v1/messages',
model_endpoint = 'https://api.anthropic.com/v1/models', model_endpoint = 'https://api.anthropic.com/v1/models',
api_key = { '/usr/local/bin/sops', "--config", "/dev/null", "-d", vim.fn.expand("$HOME") .. "/.claude-api" }, api_key = { '/usr/local/bin/sops', '--config', '/dev/null', '-d', vim.fn.expand('$HOME') .. '/.claude-api' },
headers = function(self) headers = function(self)
return { return {
['Content-Type'] = "application/json", ['Content-Type'] = 'application/json',
['x-api-key'] = self.api_key, ['x-api-key'] = self.api_key,
['anthropic-version'] = "2023-06-01", ['anthropic-version'] = '2023-06-01',
} }
end, end,
params = { params = {
@@ -39,7 +39,7 @@ return {
end, end,
} }
}, },
user_input_ui = "buffer", user_input_ui = 'buffer',
} }
} }