refactor: remove unreachable internal code paths
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
This commit is contained in:
1 parent
4212ad726d
commit
9257383bec
21 files changed
+86
-285
No files matched your search
@@ -363,11 +363,6 @@ export class NanobotClient {
|
||||
this.applyRunEffects(this.runs.transition({ kind: "restore-pending", chatId, generation, turnId }));
|
||||
}
|
||||
|
||||
/** Last ``goal_status`` ``started_at`` (unix sec) for *chatId*, if the turn is running. */
|
||||
getRunStartedAt(chatId: string): number | null {
|
||||
return this.runs.view(chatId).startedAt;
|
||||
}
|
||||
|
||||
/** Canonical lifecycle turn currently owning the run, retained after completion. */
|
||||
getRunTurnId(chatId: string): string | null {
|
||||
return this.runs.view(chatId).latestTurnId;
|
||||
|
||||
Reference in new issue
Block a user