pub struct LocalEndpoint {
pub base_url: String,
pub context_budget: u32,
pub temperature: Option<f64>,
}Expand description
An operator-configured OpenAI-compatible endpoint the Worker can be routed
to for the local tier. Mirrors crate::types::RoleConfig’s local-backend
fields (base_url/context_budget/temperature).
Fields§
§base_url: String§context_budget: u32§temperature: Option<f64>Trait Implementations§
Source§impl Clone for LocalEndpoint
impl Clone for LocalEndpoint
Source§fn clone(&self) -> LocalEndpoint
fn clone(&self) -> LocalEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalEndpoint
impl Debug for LocalEndpoint
Source§impl PartialEq for LocalEndpoint
impl PartialEq for LocalEndpoint
impl StructuralPartialEq for LocalEndpoint
Auto Trait Implementations§
impl Freeze for LocalEndpoint
impl RefUnwindSafe for LocalEndpoint
impl Send for LocalEndpoint
impl Sync for LocalEndpoint
impl Unpin for LocalEndpoint
impl UnsafeUnpin for LocalEndpoint
impl UnwindSafe for LocalEndpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more