Skip to content

fix: add execution_environment to Cortex Analyst tool_resources (closes #5) - #6

Merged
Matts52 merged 1 commit into
mainfrom
fix-cortex-agent-issue-5
Jun 17, 2026
Merged

fix: add execution_environment to Cortex Analyst tool_resources (closes #5)#6
Matts52 merged 1 commit into
mainfrom
fix-cortex-agent-issue-5

Conversation

@Matts52

@Matts52 Matts52 commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the required execution_environment block (type: warehouse, warehouse) to the Analyst1 tool_resource example in the README, fixing the runtime error reported in Document cortex_search tool_resources schema: name/title_column/id_column and execution_environment #5.
  • Updates integration_tests/models/agent_with_semantic_view.sql to include the same block, using the existing SNOWFLAKE_TEST_WAREHOUSE env var.
  • The Cortex Search side (name, title_column, id_column) was already correct in both the README and integration tests; no changes were needed there.

Test plan

  • Verify dbt compile on integration_tests/ renders execution_environment under OrdersAnalyst in the compiled YAML.
  • Run integration tests against a Snowflake environment to confirm the agent_with_semantic_view model creates successfully.

🤖 Generated with Claude Code

…les (closes #5)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Matts52
Matts52 merged commit 392df60 into main Jun 17, 2026
1 check passed
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.

1 participant