Skip to content

feat: support instance-level output language - #1150

Open
yvonneyx wants to merge 6 commits into
aifrom
feat/output-language
Open

yvonneyx wants to merge 6 commits into
aifrom
feat/output-language

Conversation

@yvonneyx

@yvonneyx yvonneyx commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Background

Fixes #1148. Addresses the language conflict surfaced by antvis/Sive#154.

Changes

const ava = new AVA({ llm: { model }, outputLanguage: 'en-US' });
  • Add optional instance-level AVAConfig.outputLanguage.
  • Wrap the single llmConfig model using AI SDK middleware to inject one system language instruction.
  • Remove task-specific language instructions from suggest and direct analysis. When omitted, the model chooses from context.
  • Preserve executable code, source identifiers, data values, enums and protocol tags.
  • Keep public method signatures, contracts and CLI unchanged.

Testing

Build and regression tests have not been run in the current environment. No new unit tests are included.

@github-actions

github-actions Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://antvis-AVA-preview-pr-1150.surge.sh
📝 Commit7cd9db5
⏱️ Build time0.007s
📦 Size30.8 MB (no change) · 454 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ 7cd9db5 · antvis-AVA-preview-pr-1150.surge.sh (open ↗) · 2026-12-06 17:17:48 UTC

🤖 Powered by surge-preview

@yvonneyx
yvonneyx marked this pull request as ready for review December 6, 2026 17:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Suggest 推荐语言和数据集绑定导致模型输出语言异常

1 participant