Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0ee2a69
feat(tests): add comprehensive unit tests for hooks and memory context
senamakel Apr 12, 2026
9a022aa
feat(tests): enhance unit tests for provider alias resolution and pro…
senamakel Apr 12, 2026
faf4c37
feat(tests): enhance error handling and formatting in unit tests
senamakel Apr 12, 2026
27d924a
feat(tests): add unit tests for tool filtering and subagent dump rend…
senamakel Apr 12, 2026
429c913
feat(tests): add comprehensive unit tests for memory loader and multi…
senamakel Apr 12, 2026
13b91de
feat(tests): add unit tests for tool execution and agent behavior
senamakel Apr 12, 2026
aa51c32
feat(tests): enhance tool execution and agent behavior tests
senamakel Apr 12, 2026
a1bd758
refactor(tests): improve test readability and structure
senamakel Apr 12, 2026
27d2d0e
docs(agent): enhance module documentation for agent domain
senamakel Apr 12, 2026
f9696c4
docs(agent): improve documentation and formatting across multiple files
senamakel Apr 12, 2026
62cecfd
feat(tests): add comprehensive tests for memory loader and agent beha…
senamakel Apr 12, 2026
677510c
refactor(tests): improve formatting and readability in memory loader …
senamakel Apr 12, 2026
0e9dc01
feat(tests): add new tests for self-healing interceptor and local AI …
senamakel Apr 12, 2026
251144e
refactor(tests): enhance test structure and external ID handling in e…
senamakel Apr 12, 2026
9f6b7d7
refactor(tests): remove redundant test modules and improve test organ…
senamakel Apr 12, 2026
9c76607
refactor(tests): improve test formatting and readability
senamakel Apr 12, 2026
09179c5
refactor(api): improve string containment check and formatting in tra…
senamakel Apr 12, 2026
a445206
refactor(code): streamline function implementations and improve reada…
senamakel Apr 12, 2026
e03140e
chore(ci): update typecheck workflow and pre-push hooks to include cl…
senamakel Apr 12, 2026
d77e2fc
refactor(api): simplify condition in key_bytes_from_string function
senamakel Apr 12, 2026
15bfe3e
chore(package): update format:check script to remove clippy integration
senamakel Apr 12, 2026
d9a91bc
refactor(core): enhance documentation and structure in core modules
senamakel Apr 12, 2026
073fa80
refactor(core): reorganize imports in engine.rs for clarity
senamakel Apr 12, 2026
d9d9785
refactor(core): enhance WebChannelEvent structure and documentation
senamakel Apr 12, 2026
d0822ab
refactor(core): streamline Socket.IO event handlers for clarity and c…
senamakel Apr 12, 2026
b446636
feat(core): add new structs for Socket RPC and chat events
senamakel Apr 12, 2026
24f76f3
refactor(core): remove unused json_type_name function from socketio.rs
senamakel Apr 12, 2026
3d46483
chore(ci): update clippy command in typecheck workflow
senamakel Apr 12, 2026
2b72130
chore(husky): remove clippy check from pre-push hook
senamakel Apr 12, 2026
dbf12be
refactor(tests): add macOS-specific imports for enhanced test coverage
senamakel Apr 12, 2026
978a0b0
Merge remote-tracking branch 'upstream/main' into tests/improve-coverage
senamakel Apr 12, 2026
af6c5ab
refactor(tests): update tool call execution in test cases
senamakel Apr 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refactor(tests): update tool call execution in test cases
- Modified the `execute_tool_call` method calls in multiple test cases to include a second parameter, improving the accuracy of the tests.
- This change ensures that the tests reflect the latest method signature and enhances the reliability of the test outcomes.
  • Loading branch information
senamakel committed Apr 12, 2026
commit af6c5ab10f331c275f716430bf7e296331155a9e
6 changes: 3 additions & 3 deletions src/openhuman/agent/harness/session/turn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ mod tests {
tool_call_id: Some("tc-1".into()),
};

let (result, record) = agent.execute_tool_call(&call).await;
let (result, record) = agent.execute_tool_call(&call, 0).await;
assert!(!result.success);
assert!(result.output.contains("not available to this agent"));
assert_eq!(record.name, "echo");
Expand Down Expand Up @@ -1508,7 +1508,7 @@ mod tests {
tool_call_id: None,
};

let (result, record) = agent.execute_tool_call(&call).await;
let (result, record) = agent.execute_tool_call(&call, 0).await;
assert!(!result.success);
assert!(result.output.contains("Unknown tool: missing"));
assert_eq!(record.name, "missing");
Expand Down Expand Up @@ -1704,7 +1704,7 @@ mod tests {
tool_call_id: Some("long-1".into()),
};

let (result, record) = agent.execute_tool_call(&call).await;
let (result, record) = agent.execute_tool_call(&call, 0).await;
assert!(result.success);
assert!(result.output.contains("truncated by tool_result_budget"));
assert!(record.output_summary.starts_with("long: ok ("));
Expand Down
Loading