mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-13 04:03:30 +00:00
refactor(apiproxy): restore the single-line listProjectionsFor signature
An intermediate cache iteration made cachedSnapshot async, which forced listProjectionsFor onto a multi-line async signature; the final design kept the sync read but the formatting residue stayed. No behavior change.
This commit is contained in:
@@ -805,11 +805,7 @@ function projectionsFor(ctx: Context, session: Session): SessionProjectionsBlock
|
||||
* empty value set — yields an absent block: a listing without projections
|
||||
* is degraded, never broken.
|
||||
*/
|
||||
function listProjectionsFor(
|
||||
ctx: Context,
|
||||
meta: SessionHeader,
|
||||
session: Session | undefined,
|
||||
): SessionProjectionsBlock | undefined {
|
||||
function listProjectionsFor(ctx: Context, meta: SessionHeader, session: Session | undefined): SessionProjectionsBlock | undefined {
|
||||
try {
|
||||
const block = session !== undefined
|
||||
? ctx.get('sessionProjections')?.snapshot(session)
|
||||
|
||||
Reference in New Issue
Block a user