Skip to content

Commit 242c287

Browse files
committed
feat: refactor actor run response handling and improve data fetching logic
1 parent 9b5d877 commit 242c287

6 files changed

Lines changed: 521 additions & 505 deletions

File tree

src/tools/apps/get_actor_run_widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { getWidgetConfig, WIDGET_URIS } from '../../resources/widgets.js';
66
import type { InternalToolArgs, ToolEntry, ToolInputSchema } from '../../types.js';
77
import { compileSchema } from '../../utils/ajv.js';
88
import { logHttpError } from '../../utils/logging.js';
9+
import { fetchActorRunData } from '../core/actor_run_response.js';
910
import {
1011
buildGetActorRunError,
1112
buildGetActorRunSuccessResponse,
12-
fetchActorRunData,
1313
} from '../core/get_actor_run_common.js';
1414
import { getActorRunOutputSchema } from '../structured_output_schemas.js';
1515

0 commit comments

Comments
 (0)