refactor: quotes
This commit is contained in:
@@ -8,12 +8,12 @@ return {
|
||||
name = 'anthropic',
|
||||
endpoint = 'https://api.anthropic.com/v1/messages',
|
||||
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)
|
||||
return {
|
||||
['Content-Type'] = "application/json",
|
||||
['Content-Type'] = 'application/json',
|
||||
['x-api-key'] = self.api_key,
|
||||
['anthropic-version'] = "2023-06-01",
|
||||
['anthropic-version'] = '2023-06-01',
|
||||
}
|
||||
end,
|
||||
params = {
|
||||
@@ -39,7 +39,7 @@ return {
|
||||
end,
|
||||
}
|
||||
},
|
||||
user_input_ui = "buffer",
|
||||
user_input_ui = 'buffer',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user