pass thru the kcl version (#5366)

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-02-12 15:55:34 -08:00
committed by GitHub
parent 59d0e079a1
commit 0874891dd0
7 changed files with 40 additions and 0 deletions

View File

@ -161,6 +161,7 @@ See later source ranges for more context. about the sweep`,
source_ranges: ranges,
project_name:
projectName !== '' && projectName !== 'browser' ? projectName : undefined,
kcl_version: kclManager.kclVersion,
}
const url = VITE_KC_API_BASE_URL + '/ml/text-to-cad/iteration'
const data: Models['TextToCadIteration_type'] | Error =