refactor(core): rename LLM event publisher to step ledger
This commit is contained in:
parent
d097cc8065
commit
d89a0d0bf7
3 changed files with 25 additions and 26 deletions
|
|
@ -7,7 +7,7 @@ import { SessionMessage } from "@opencode-ai/core/session/message"
|
|||
import { SessionV2 } from "@opencode-ai/core/session"
|
||||
import { ModelV2 } from "@opencode-ai/core/model"
|
||||
import { ProviderV2 } from "@opencode-ai/core/provider"
|
||||
import { createLLMEventPublisher } from "@opencode-ai/core/session/runner/publish-llm-event"
|
||||
import { createStepLedger } from "@opencode-ai/core/session/runner/step-ledger"
|
||||
|
||||
const sessionID = SessionV2.ID.make("ses_tool_event_test")
|
||||
const base64 = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB"
|
||||
|
|
@ -40,7 +40,7 @@ const capture = () => {
|
|||
})
|
||||
return {
|
||||
published,
|
||||
publisher: createLLMEventPublisher(events, {
|
||||
publisher: createStepLedger(events, {
|
||||
sessionID,
|
||||
agent: "build",
|
||||
model: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue