mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 13:06:47 +02:00
fix(agents): restore raw model run type coverage
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user