aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//! Measures tool-generated PCM WAV clips using the audio bytes actually present.
|
||||
//! Unknown formats retain the existing audio output behavior.
|
||||
|
||||
use akode_protocol::models::MAX_PROMPT_AUDIO_INPUT_BYTES;
|
||||
use base64::Engine;
|
||||
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
|
||||
use akode_protocol::models::MAX_PROMPT_AUDIO_INPUT_BYTES;
|
||||
|
||||
pub(super) fn wav_duration_seconds(audio_url: &str) -> Option<f64> {
|
||||
let (metadata, payload) = audio_url.split_once(',')?;
|
||||
|
||||
@@ -9,11 +9,11 @@ use crate::InProcessCodeModeSession;
|
||||
use crate::RuntimeResponse;
|
||||
use crate::WaitOutcome;
|
||||
use crate::WaitRequest;
|
||||
use base64::Engine;
|
||||
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
|
||||
use akode_code_mode_protocol::CodeModeOutputTruncation;
|
||||
use akode_code_mode_protocol::CodeModeSessionOptions;
|
||||
use akode_code_mode_protocol::host::BOUNDED_OUTPUT_MAX_BYTES;
|
||||
use base64::Engine;
|
||||
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
const SHORT_AUDIO_OMISSION_TEXT: &str =
|
||||
|
||||
Reference in New Issue
Block a user