This commit is contained in:
parent
564bbe073d
commit
11a2cb6966
|
@ -58,6 +58,7 @@ class AnthropicApiClient(ApiClient):
|
|||
})
|
||||
|
||||
async def generate(self, command_info: CommandInfo, matrix_gpt_data: str = None):
|
||||
print(self.context)
|
||||
r = await self._create_client(command_info.api_base).messages.create(
|
||||
model=command_info.model,
|
||||
max_tokens=None if command_info.max_tokens == 0 else command_info.max_tokens,
|
||||
|
|
Loading…
Reference in New Issue