mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-20 00:59:21 +00:00
fix(agents): restore raw model run type coverage
This commit is contained in:
parent
732e5805e3
commit
2a1e47ffcb
3 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ export type CacheTraceStage =
|
|||
| "cache:result"
|
||||
| "cache:state"
|
||||
| "session:loaded"
|
||||
| "session:raw-model-run"
|
||||
| "session:sanitized"
|
||||
| "session:limited"
|
||||
| "prompt:before"
|
||||
|
|
|
|||
|
|
@ -544,6 +544,7 @@ describe("CLI attempt execution", () => {
|
|||
await runAgentAttempt({
|
||||
providerOverride: "anthropic",
|
||||
modelOverride: "claude-opus-4-7",
|
||||
originalProvider: "anthropic",
|
||||
cfg: {
|
||||
agents: {
|
||||
defaults: {
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
|||
runBeforeAgentStart: vi.fn(async () => ({ prependContext: "legacy hook context" })),
|
||||
runLlmInput,
|
||||
});
|
||||
const seen: { prompt?: string; messages?: unknown[] } = {};
|
||||
const seen: { prompt?: string; messages?: unknown[]; systemPrompt?: string } = {};
|
||||
|
||||
const result = await createContextEngineAttemptRunner({
|
||||
contextEngine: createTestContextEngine({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue