lease-persona-callers: rustfmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
13cbdaf23c
commit
1bf9fdb437
2 changed files with 4 additions and 10 deletions
|
|
@ -12,8 +12,7 @@ use std::time::Duration;
|
|||
use cultcache_rs::{CultCache, DatabaseEntry, SingleFileMessagePackBackingStore};
|
||||
use model_connector::{
|
||||
CallerAdmission, CallerConfig, LeaseTurn, MIN_PAYLOAD_BYTES, ModelPrice, ProviderBackend,
|
||||
ServeError,
|
||||
ServeLimits, ServiceError, TransportService, load_admissions, serve_service,
|
||||
ServeError, ServeLimits, ServiceError, TransportService, load_admissions, serve_service,
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
|
|
|||
|
|
@ -22,9 +22,8 @@ use claude_connector::{
|
|||
decode_frame, encode_frame, serve_leases,
|
||||
};
|
||||
use model_connector::{
|
||||
CallerAdmission, LeaseAdmission, LeaseRefusal, LeaseTurn, LeaseUse, ModelPrice, ModelUsage, Rates,
|
||||
SpendCeiling,
|
||||
SpendWindowMs, TransportService, Usage,
|
||||
CallerAdmission, LeaseAdmission, LeaseRefusal, LeaseTurn, LeaseUse, ModelPrice, ModelUsage,
|
||||
Rates, SpendCeiling, SpendWindowMs, TransportService, Usage,
|
||||
};
|
||||
use zeroize::Zeroizing;
|
||||
|
||||
|
|
@ -1191,11 +1190,7 @@ fn start_persona(setup: Setup) -> Harness {
|
|||
harness
|
||||
}
|
||||
|
||||
fn lease_on(
|
||||
harness: &Harness,
|
||||
turn: LeaseTurn,
|
||||
invocation: &str,
|
||||
) -> LeaseAdmission {
|
||||
fn lease_on(harness: &Harness, turn: LeaseTurn, invocation: &str) -> LeaseAdmission {
|
||||
harness
|
||||
.service
|
||||
.lock()
|
||||
|
|
|
|||
Loading…
Reference in a new issue