mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
TODOs in lane.ts
This commit is contained in:
parent
cfc6dd2101
commit
a3c8d1828d
1 changed files with 3 additions and 0 deletions
|
|
@ -643,6 +643,7 @@ export class Lane implements AgentLane {
|
|||
operation?.state.kind === "run"
|
||||
? await queuedItems(operation.state.inbox.followUp, "Follow-up entry")
|
||||
: [];
|
||||
// TODO does a client really need pending writes? We wouldn't visualize those, any other uses for them?
|
||||
const pendingWrites =
|
||||
operation?.state.kind === "run"
|
||||
? await Promise.all(
|
||||
|
|
@ -669,6 +670,8 @@ export class Lane implements AgentLane {
|
|||
let streamingMessage: NonNullable<LaneSnapshot["operation"]>["streamingMessage"];
|
||||
let retry: NonNullable<LaneSnapshot["operation"]>["retry"];
|
||||
let deferred: NonNullable<LaneSnapshot["operation"]>["deferred"];
|
||||
// TODO we should always read the full frame list here, assistant messages
|
||||
// are never humongous
|
||||
const readStreamingMessage = async (responseEntryId: string) => {
|
||||
const frames = [];
|
||||
let cursor: { seq: number } | undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue