Skip to content

Cortex Analyst: Updated to treat stage paths properly#183

Merged
tonnitommi merged 1 commit into
mainfrom
tommi/prd-555
May 20, 2025
Merged

Cortex Analyst: Updated to treat stage paths properly#183
tonnitommi merged 1 commit into
mainfrom
tommi/prd-555

Conversation

@tonnitommi
Copy link
Copy Markdown
Contributor

Description

If user copies stage path for semantic model file from Snowsight, it contains quotes. That broke the ask cortex analyst action. Fixed to treat quotes and whitespaces properly.

How can (was) this tested?

Tested locally in SDK with three scenarios, no quotes, quotes and whitespaces. Same in Studio.

Checklist:

  • I have bumped the version number for the Action Package / Agent
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation - README.md file
  • I have updated the CHANGELOG.md file in correspondence with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • OAuth2: I have made sure that action has necessary scopes (works in whitelisted mode)

@tonnitommi tonnitommi requested a review from OvidiuCode May 20, 2025 12:13
@tonnitommi tonnitommi merged commit 24d8641 into main May 20, 2025
7 checks passed
@tonnitommi tonnitommi deleted the tommi/prd-555 branch May 20, 2025 13:05
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