Skip to content

Commit fa096e0

Browse files
committed
fix: add type assertion for proof-of-concept validation config access
1 parent b29b393 commit fa096e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/newTaskToolWithValidation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function newTaskToolWithValidation(
7777
}
7878

7979
// Get validation configuration from state
80-
const state = await provider.getState()
80+
const state = (await provider.getState()) as any // Type assertion for proof-of-concept
8181
const validationConfig = {
8282
enabled: state.subtaskValidationEnabled ?? false,
8383
validationApiConfigId: state.subtaskValidationApiConfigId,

0 commit comments

Comments
 (0)