Synced from monorepo
Changes: - Persist submitter identity for /feedback - Let custom models use rotating tokens from named auth providers - Template stale tool/param name literals in server-native descriptions - Minimal mode commits thinking in full, lookups as one-liners - Tighten durable append internals - Nudge model to end turn on no-op bash commands - Per-fetch signing nonce in the managed-config envelope, with a server-side replay probe - Include working tree in startup status
This commit is contained in:
parent
ba76b0a683
commit
a881e6703f
140 changed files with 6746 additions and 2377 deletions
|
|
@ -560,12 +560,10 @@ mod tests {
|
|||
match output {
|
||||
ToolOutputWire::Mcp { blocks } => {
|
||||
assert_eq!(blocks.len(), 2);
|
||||
assert!(
|
||||
matches!(&blocks[0], McpBlock::Text { text } if text == "result text")
|
||||
);
|
||||
assert!(
|
||||
matches!(&blocks[1], McpBlock::Image { mime_type, .. } if mime_type == "image/png")
|
||||
);
|
||||
assert!(matches!(&blocks[0], McpBlock::Text { text }
|
||||
if text == "result text"));
|
||||
assert!(matches!(&blocks[1], McpBlock::Image { mime_type, .. }
|
||||
if mime_type == "image/png"));
|
||||
}
|
||||
other => panic!("expected Mcp blocks, got {other:?}"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue