Skip to content

fix: test ability in space ai config (T1350) - #2303

Merged
boris-w merged 1 commit into
developfrom
fix/space-ai-test-ability
Dec 19, 2025
Merged

fix: test ability in space ai config (T1350)#2303
boris-w merged 1 commit into
developfrom
fix/space-ai-test-ability

Conversation

@boris-w

@boris-w boris-w commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Related Issues: T1350

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in the test ability functionality for space AI configuration by correcting how the LLM provider is identified when testing chat model abilities.

Key changes:

  • Replaced flawed index-based provider lookup with direct provider matching using parsed model key components
  • Added import for parseModelKey utility function to properly extract type, model, and name from model keys
  • Renamed variables for clarity (testModeltestModelKey, testLLMtestLLMProvider)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@boris-w
boris-w merged commit 1a5f92c into develop Dec 19, 2025
13 checks passed
@boris-w
boris-w deleted the fix/space-ai-test-ability branch December 19, 2025 06:58
@github-actions

Copy link
Copy Markdown
Contributor

🧹 Preview Environment Cleanup

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.

2 participants