fix: embedding get price definition missing (#922)
This commit is contained in:
parent
0a0d63457d
commit
3a0a9e2d8f
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class BaseEmbedding(BaseProviderModel):
|
|||
logger.debug(f"model: {self.name} price_config: {self._price_config}")
|
||||
return self._price_config
|
||||
|
||||
def calc_tokens_price(self, tokens:int) -> decimal.Decimal:
|
||||
def calc_tokens_price(self, tokens: int) -> decimal.Decimal:
|
||||
"""
|
||||
calc tokens total price.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue