mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-04 00:06:39 +00:00
* feat: track AI fill, AI fix, evals, reusable agents and debugger usage Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore: pin ee ref to the feature_usage registry commit Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore: update ee-repo-ref to c3b6f62ea579a3583d4b474e9885c77104cfc87e This commit updates the EE repository reference after PR #745 was merged in windmill-ee-private. Previous ee-repo-ref: 77992910929188a854eadc06ee45971877b6f954 New ee-repo-ref: c3b6f62ea579a3583d4b474e9885c77104cfc87e Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
14 lines
666 B
TypeScript
14 lines
666 B
TypeScript
import { logFeatureUsage } from '$lib/utils/featureUsage'
|
|
|
|
// Anonymous counters for the AI filling of a step's inputs. Same rules as every other
|
|
// `logFeatureUsage` caller: aggregated counts only, and the two keys below are the whole
|
|
// vocabulary — no argument name, expression or step id ever reaches here.
|
|
|
|
/** Which filler the user reached for: the per-field one, or the one above the whole form. */
|
|
export type StepInputFillScope = 'single' | 'all'
|
|
|
|
/** Counted where the user asks for a suggestion, not where one is accepted. */
|
|
export function logStepInputFill(scope: StepInputFillScope): void {
|
|
logFeatureUsage('flow_step', 'ai_fill', { key: scope })
|
|
}
|