Skip to content

Commit

Permalink
Nit: fix pytest warning
Browse files Browse the repository at this point in the history
  • Loading branch information
akamgm authored and saulpw committed Oct 30, 2023
1 parent f82df1c commit 48bb6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aipl/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def compute_cost(self, aipl, resp, model):

stderr(f'Used {used} tokens (estimate {len(result)//4} tokens). Cost: ${cost:.03f}')
elif self.client_type == 'selfhosted':
stderr('Used TODO tokens. Cost: $¯\_(ツ)_/¯')
stderr('Used TODO tokens. Cost: $¯\\_(ツ)_/¯')

def completion(self, aipl, v:str, **kwargs) -> str:
'Send chat messages to GPT. Lines beginning with @@@s or @@@a are sent as system or assistant messages respectively (default user). Passes all [named args](https://platform.openai.com/docs/guides/chat/introduction) directly to API.'
Expand Down

0 comments on commit 48bb6f3

Please sign in to comment.