Bo Yang
ed8add2e9b
test(cli): Make JSON test files deterministic and sequential
...
Sort keys when saving rebuilt JSON test files and re-assign sequential event IDs to avoid gaps from filtered events. Also applied these changes to all existing test files in the contributing folder.
Change-Id: Ib126228f016db1d28030eee4f7d9d8cbc604e038
2026-04-10 11:08:42 -07:00
Shangjie Chen
4f726053f4
refactor(samples): Clean up and fix style issues in workflow and agent samples
...
- Removed obsolete TODOs and mode='single_turn' from dynamic nodes sample.
- Fixed line lengths exceeding 80 characters in several samples.
- Removed unused imports and arguments.
Change-Id: Ie03871a258d02eadae9f2ae73f6d2982b755eae5
2026-04-09 22:22:34 -07:00
Bo Yang
4476854455
feat(events): make run_id calculated and remove from JSON dump
...
Change-Id: Ida7d49b36bf6f590796f5c22ca26e5dc121352a5
2026-04-09 09:44:59 -07:00
Bo Yang
ee6f068e4f
feat: replace random number agent sample with bank account management sub-agents
...
Change-Id: Ifd5b890214b7f9d558c96374b391c4f1ce4e169d
2026-04-06 15:39:40 -07:00
Bo Yang
baf72ccd8c
feat: add agent callback demonstration sample with tool and model interception logic
...
Change-Id: I82a59b9bd9871203f013c2c39de8489b30140840
2026-04-06 15:20:25 -07:00
Bo Yang
83ed3804cf
docs: add parallel tool invocation examples and test cases for function tools and tool confirmation
...
Change-Id: Idd65a9e33e0c9b3588af78b3acc2644bb58200c3
2026-04-06 14:54:02 -07:00
Bo Yang
308d01fa57
feat: add tool confirmation sample agent with test cases
...
Change-Id: I52202d124c2f4d78bff99de1a0c98c67bd8b7239
2026-04-06 13:18:34 -07:00
Bo Yang
39574a6843
rebuild agent sample tests with node info
...
Change-Id: Ic7535238d0a51de1e833791ed8f1e85b23f74c7a
2026-04-05 22:54:30 -07:00
Bo Yang
017fef45de
fix(cli): Reset agent cache in test_agent_replay to ensure isolation
...
Change-Id: I18c3f1c06cba4b59ab0ea84f517f17a5a68074c9
2026-04-05 15:22:13 -07:00
Bo Yang
9fc8d6cb4e
test: add interaction test cases for empty and sub-agent workflows
...
Change-Id: I3240f5e8cbd5c350ab0c25f0990357fc9f75f09e
2026-04-05 14:07:39 -07:00
Bo Yang
d14c231bd1
test: make random number generation deterministic and incremental for tests and increase pytest verbosity
...
Change-Id: I888b1f0e30d0e5e94850621273d19b7e7d20d204
2026-04-05 14:01:36 -07:00
Bo Yang
003ae2ba68
test(samples): new recordings for v1 llm agent
...
Change-Id: I2ea965774e3c8147cf5fc4ace88c6e7af491b835
2026-04-05 00:41:42 -07:00
Bo Yang
4035cbdf27
feat(test): Support custom pytest args and ensure reproducible test results
...
Allow users to customize test execution by passing arbitrary arguments to the underlying pytest runner. Ensure test results are reproducible by removing non-deterministic fields and enforcing sequential execution IDs during test rebuilding.
Change-Id: Ib08dc6a39c6ddf5dff6735865892b02c7d12bf01
2026-04-04 19:25:45 -07:00
Bo Yang
62122013e4
feat: add sub-agents sample demonstrating hierarchical agent delegation
...
Change-Id: Id7509801547d6ba3911ef5cd152f337ef0cd9317
2026-04-01 15:03:34 -07:00
Bo Yang
add8ad3235
Start to build samples for features in llm agent.
...
Change-Id: I903a7aa485b2e4051487b68ff1484f6729f70720
2026-04-01 14:40:08 -07:00