mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-20 14:12:59 +03:00
fix(types): resolve context-relay payload resolution and typing issues
- Fix `handoffProviders` and `nextBody` unknown property TS errors in contextHandoff - Correct fallback payload parsing from responses `input` array in combo service
This commit is contained in:
@@ -509,8 +509,7 @@ async function handleSingleModelChat(
|
||||
comboStrategy === "context-relay" &&
|
||||
comboName &&
|
||||
runtimeOptions.sessionId &&
|
||||
body?._omnirouteSkipContextRelay !== true &&
|
||||
!excludeConnectionId
|
||||
body?._omnirouteSkipContextRelay !== true
|
||||
) {
|
||||
const handoff = getHandoff(runtimeOptions.sessionId, comboName);
|
||||
if (handoff && handoff.fromAccount !== credentials.connectionId) {
|
||||
|
||||
Reference in New Issue
Block a user