mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-08 06:54:24 +00:00
Agents: fix embedded auth-profile failure helper typing
This commit is contained in:
committed by
Peter Steinberger
parent
0121fa6f1a
commit
4ec0af00fe
@@ -516,6 +516,8 @@ export async function runEmbeddedPiAgent(
|
||||
const maybeMarkAuthProfileFailure = async (failure: {
|
||||
profileId?: string;
|
||||
reason?: Parameters<typeof markAuthProfileFailure>[0]["reason"] | null;
|
||||
config?: RunEmbeddedPiAgentParams["config"];
|
||||
agentDir?: RunEmbeddedPiAgentParams["agentDir"];
|
||||
}) => {
|
||||
const { profileId, reason } = failure;
|
||||
if (!profileId || !reason || reason === "timeout") {
|
||||
|
||||
Reference in New Issue
Block a user