This commit is contained in:
Adil Hafeez 2025-04-07 01:40:17 -07:00
parent c9b62fc52e
commit 48d058ce5c
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 3 additions and 7 deletions

View file

@ -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(

View file

@ -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) {

View file

@ -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> {

View file

@ -153,7 +153,6 @@ impl StreamContext {
.and_then(|metadata| metadata.get(X_ARCH_FC_MODEL_RESPONSE))
.cloned();
if !intent_matched {
// check if we have a default prompt target
if let Some(default_prompt_target) = self