mirror of https://github.com/openclaw/openclaw.git
Agents: fix embedded auth-profile failure helper typing
This commit is contained in:
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") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue