diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2026-01-30 09:41:54 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-01-30 14:20:33 +0000 |
| commit | 7898d1cc0f5ac67be3561f3b63da3d60957d4bc3 (patch) | |
| tree | efb1c46d071444e28605504851119bdc8f7fb7b3 /pkg/aflow/tool/codeexpert/codeexpert.go | |
| parent | 9b63f7e1c67c950430ab90004923c896f798778e (diff) | |
pkg/aflow: refactor the LLM summarization test
It's very inconvinient to hardcode exact LLM replies in this test,
because it's hard to understand when exactly it will be asked to summarize.
It's easy to make a bug in the test, and provide summary reply when it wasn't asked to.
Instead support proving full generateContent callback,
and just model what an LLM would do -- provide summary only when it's asked to.
Diffstat (limited to 'pkg/aflow/tool/codeexpert/codeexpert.go')
0 files changed, 0 insertions, 0 deletions
