mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
fmt
This commit is contained in:
parent
c9b62fc52e
commit
48d058ce5c
4 changed files with 3 additions and 7 deletions
|
|
@ -50,8 +50,7 @@ pub trait Client: Context {
|
|||
) -> Result<u32, ClientError> {
|
||||
debug!(
|
||||
"dispatching http call with args={:?} context={:?}",
|
||||
call_args,
|
||||
call_context
|
||||
call_args, call_context
|
||||
);
|
||||
|
||||
match self.dispatch_http_call(
|
||||
|
|
|
|||
|
|
@ -101,9 +101,7 @@ impl RatelimitMap {
|
|||
) -> Result<(), Error> {
|
||||
debug!(
|
||||
"Checking limit for provider={}, with selector={:?}, consuming tokens={:?}",
|
||||
provider,
|
||||
selector,
|
||||
tokens_used
|
||||
provider, selector, tokens_used
|
||||
);
|
||||
|
||||
let provider_limits = match self.datastore.get(&provider) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use log::{debug};
|
||||
use log::debug;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn token_count(model_name: &str, text: &str) -> Result<usize, String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue