Commit Graph

8 Commits

Author SHA1 Message Date
xianghuijin bbcda753df fix: optimize tool_choice reset logic and fix lint errors
- Refactor tool_choice reset to target only problematic edge cases
- Replace manual ModelSettings recreation with dataclasses.replace
- Fix line length and error handling lint issues in tests
2025-03-22 14:10:09 +08:00
xianghuijin fb77c74fa1 Fix potential infinite tool call loop by resetting tool_choice after tool execution 2025-03-20 21:22:27 +08:00
Rohan Mehta 10aa5555af Introduce tool_use_behavior on agents 2025-03-18 21:55:12 -04:00
Rohan Mehta 09d70c074d utils directory 2025-03-16 18:48:45 -04:00
hironow 9b118a10c6
Merge branch 'main' into hironow/chore-doc-type
# Conflicts:
#	tests/docs/config.md
#	tests/docs/guardrails.md
#	tests/docs/tracing.md
2025-03-12 10:13:25 +09:00
Rohan Mehta c27d7b7d24 pin to openai 1.66.2, update tests 2025-03-11 15:26:06 -07:00
hironow 5a33e9b168
chore: fix type in doc and comment 2025-03-12 02:46:36 +09:00
Rohan Mehta aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00