Skip to content

docs(ai): document the fluent record() testing API#65

Open
tmgbedu wants to merge 2 commits into
devfrom
docs/agent-record-fluent-api
Open

docs(ai): document the fluent record() testing API#65
tmgbedu wants to merge 2 commits into
devfrom
docs/agent-record-fluent-api

Conversation

@tmgbedu

@tmgbedu tmgbedu commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Documents the new fluent Agent.record() testing DSL: binding as agent yields a synchronous prompt() plus assert_text_response(), assert_tool_called(), assert_tool_not_called(), assert_response_time_lt(), and assert_response_judged() (LLM-as-judge, verdict cached in the cassette).
  • Documents seeding a session's prior history via record(cassette, messages=[...]).
  • Clarifies that cassette cache keys now include the conversation history so far, not just the literal message text.

Companion framework change: fastapi-startkit/fastapi-startkit-framework#183 (branch task/ai-trajectory-evals-1127).

@tmgbedu
tmgbedu changed the base branch from main to dev July 17, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant