Fix RoutedInferencePort test unix_ms propagation and remove remaining sidecar prose
This commit is contained in:
parent
2b25a2f766
commit
95f37de18e
3 changed files with 3 additions and 5 deletions
|
|
@ -2541,9 +2541,7 @@ mod tests {
|
|||
|
||||
/// A refusal keeps the conversation and restarts the draft: the rounds
|
||||
/// before it stay in view as the model's own calls, the refusal is the next
|
||||
/// user turn, and only the calls after it are the patch. The oracle folds
|
||||
/// to the same place, so the sidecar's answers and the evaluator's capture
|
||||
/// cannot disagree across the boundary.
|
||||
/// user turn, and only the calls after it are the patch.
|
||||
#[test]
|
||||
fn a_refusal_restarts_the_draft_inside_the_same_conversation() {
|
||||
let first = output(vec![
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ mod tests {
|
|||
#[async_trait]
|
||||
impl InferencePort for StubPort {
|
||||
fn prepare(&self, request: InferenceRequest) -> Result<PreparedInference, InferenceFault> {
|
||||
PreparedInference::prepare(TEST_RUNTIME, unix_ms().saturating_add(60_000), request)
|
||||
PreparedInference::prepare(TEST_RUNTIME, unix_ms()?.saturating_add(60_000), request)
|
||||
}
|
||||
|
||||
async fn infer(&self, _request: PreparedInference) -> Result<InferenceOutput, InferenceFault> {
|
||||
|
|
|
|||
|
|
@ -498,7 +498,7 @@ declined to pay.
|
|||
|
||||
### 11. Inference routing and road follow-ups (historical)
|
||||
|
||||
(The Agent SDK sidecar transport documented here was later removed; `RoutedInferencePort` routes prefix-claimed `local/` and `hosted/` lanes and falls through to the connector.)
|
||||
(Historical transport section removed; `RoutedInferencePort` routes prefix-claimed `local/` and `hosted/` lanes and falls through to the connector.)
|
||||
|
||||
From run 2: the Interpreter's `speak` and `record_gap` cite the source by
|
||||
quoting it (`source_quote`), and the harness locates the quote and derives
|
||||
|
|
|
|||
Loading…
Reference in a new issue