Your commit message

This commit is contained in:
肖凌风 2023-07-21 13:44:58 -04:00
parent 8c07be0e56
commit 227c837d0a
2 changed files with 32 additions and 1 deletions

View file

@ -23,7 +23,7 @@ class Claude2:
return res.completion
async def aask(self, prompt):
client = Anthropic(api_key="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")
client = Anthropic(api_key=claude_api_key)
res = client.completions.create(
model="claude-2",