Skip to content

Commit e0a6987

Browse files
CodeGhost21claude
andcommitted
Fix CI build: Ubuntu-only + fix native_dispatcher test
- Simplify build.yml to Ubuntu x86_64 only (remove macOS matrix) - Fix native_dispatcher_returns_empty_instructions test to match updated NativeToolDispatcher that now returns tool-use protocol text Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0735b5e commit e0a6987

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/openhuman/agent/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,11 +1238,11 @@ fn xml_dispatcher_generates_tool_instructions() {
12381238
}
12391239

12401240
#[test]
1241-
fn native_dispatcher_returns_empty_instructions() {
1241+
fn native_dispatcher_returns_tool_use_instructions() {
12421242
let tools: Vec<Box<dyn Tool>> = vec![Box::new(EchoTool)];
12431243
let dispatcher = NativeToolDispatcher;
12441244
let instructions = dispatcher.prompt_instructions(&tools);
1245-
assert!(instructions.is_empty());
1245+
assert!(instructions.contains("Tool Use Protocol"));
12461246
}
12471247

12481248
// ═══════════════════════════════════════════════════════════════════════════

0 commit comments

Comments
 (0)