Skip to content

Commit 6e3e4cc

Browse files
waleedlatif1claude
andcommitted
fix(tinyfish): declare the nullable profile metadata fields nullable
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ej1gsFPVzN5xZZ3QzvK8bD
1 parent 8b82e9b commit 6e3e4cc

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

apps/sim/blocks/blocks/tinyfish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Return ONLY the comma-separated URL list - no explanations, no extra text.`,
599599
profiles: {
600600
type: 'json',
601601
description:
602-
'Browser Context Profiles a run can start from [{profileId, name, proxyCountryCode, fingerprintSeed, createdAt, isDefault}]',
602+
'Browser Context Profiles a run can start from [{profileId, name, proxyCountryCode, fingerprintSeed, createdAt, isDefault}]. Every field but profileId and name can be null when the API omits it',
603603
},
604604
},
605605
}

apps/sim/tools/generated/tool-outputs.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

apps/sim/tools/tinyfish/list_profiles.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,28 @@ export const listProfilesTool: ToolConfig<
9595
type: 'string',
9696
description: 'Country the profile proxies through, null when it has no proxy',
9797
optional: true,
98+
nullable: true,
9899
},
99100
fingerprintSeed: {
100101
type: 'string',
101102
description:
102103
'Seed for the browser fingerprint the profile replays, null when the API omits it',
103104
optional: true,
105+
nullable: true,
104106
},
105107
createdAt: {
106108
type: 'string',
107109
description:
108110
'ISO 8601 timestamp when the profile was created, null when the API omits it',
109111
optional: true,
112+
nullable: true,
110113
},
111114
isDefault: {
112115
type: 'boolean',
113116
description:
114117
'Whether runs with no Browser Profile ID use this one, null when the API does not report it',
115118
optional: true,
119+
nullable: true,
116120
},
117121
},
118122
},

0 commit comments

Comments
 (0)