fix: persist environment selection, support Kilo AI provider, resolve Superset virtual columns for translation preview

- Add environment_id to TranslationJob model/schema/API + DB migration
- Pass environmentId from page to TranslationPreview and fetchPreview
- Fix _fetch_sample_rows: use result_type='samples' to include virtual cols
- Add 'kilo' and 'openrouter' to supported LLM provider types
- Make response_format conditional (skip for non-OpenAI upstream providers)
- Remove source_table field from form (redundant with datasource)
- Restore datasourceSearch display from saved job on page load
- Add request/response logging for LLM API calls
This commit is contained in:
2026-05-09 23:10:15 +03:00
parent 67ba04d4ff
commit dbb8bd6c4e
15 changed files with 292 additions and 68 deletions

View File

@@ -1,6 +1,6 @@
---
description: Frontend implementation specialist for Svelte UI work and browser-driven validation; uses browser-first practice for visible UX verification and route-level debugging.
mode: subagent
mode: all
model: opencode-go/deepseek-v4-flash
temperature: 0.1
permission: