mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
chore: format merged PR changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
mod chat;
|
||||
mod image_intent;
|
||||
mod embedding;
|
||||
mod image_intent;
|
||||
mod responses;
|
||||
|
||||
pub(crate) use crate::ai_serving::{
|
||||
@@ -16,8 +16,8 @@ pub(crate) use chat::{
|
||||
maybe_build_stream_local_decision_payload, maybe_build_sync_local_decision_payload,
|
||||
set_local_openai_chat_execution_exhausted_diagnostic,
|
||||
};
|
||||
pub(super) use image_intent::openai_request_is_image_generation_intent;
|
||||
pub(crate) use embedding::maybe_build_sync_local_openai_embedding_decision_payload;
|
||||
pub(super) use image_intent::openai_request_is_image_generation_intent;
|
||||
pub(crate) use responses::{
|
||||
build_local_openai_responses_stream_attempt_source_for_kind,
|
||||
build_local_openai_responses_stream_plan_and_reports_for_kind,
|
||||
|
||||
@@ -95,7 +95,6 @@ pub(crate) use aether_provider_transport::{
|
||||
SameFormatProviderRequestBehaviorParams, SameFormatProviderRequestBodyInput,
|
||||
SameFormatProviderUpstreamUrlParams, StandardPlanFallbackAcceptPolicy,
|
||||
StandardPlanFallbackHeadersInput, StandardProviderRequestHeaders,
|
||||
StandardProviderRequestHeadersInput, TransportRequestUrlParams, GROK_CHAT_PATH,
|
||||
GROK_INTERNAL_HEADER, GROK_RATE_LIMITS_PATH,
|
||||
TransportRequestBodySemanticsError,
|
||||
StandardProviderRequestHeadersInput, TransportRequestBodySemanticsError,
|
||||
TransportRequestUrlParams, GROK_CHAT_PATH, GROK_INTERNAL_HEADER, GROK_RATE_LIMITS_PATH,
|
||||
};
|
||||
|
||||
@@ -1053,7 +1053,10 @@ fn insert_runtime_miss_diagnostic_metadata(
|
||||
runtime_miss.insert("skip_reasons".to_string(), json!(diagnostic.skip_reasons));
|
||||
}
|
||||
if let Some(requested_model) = trimmed_non_empty(diagnostic.requested_model.as_deref()) {
|
||||
runtime_miss.insert("requested_model".to_string(), Value::String(requested_model));
|
||||
runtime_miss.insert(
|
||||
"requested_model".to_string(),
|
||||
Value::String(requested_model),
|
||||
);
|
||||
}
|
||||
|
||||
let mut provider_hint = Map::new();
|
||||
|
||||
Reference in New Issue
Block a user