diff --git a/README.md b/README.md index 462e958..0144294 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,9 @@ tools: tool_resources: Analyst1: semantic_view: "{{ ref('sales_semantic_view') }}" + execution_environment: + type: "warehouse" + warehouse: "MY_WAREHOUSE" Search1: name: "{{ source('cortex', 'policy_search_service') }}" max_results: 5 diff --git a/integration_tests/models/agent_with_semantic_view.sql b/integration_tests/models/agent_with_semantic_view.sql index 1e268ae..fc5d0c5 100644 --- a/integration_tests/models/agent_with_semantic_view.sql +++ b/integration_tests/models/agent_with_semantic_view.sql @@ -28,3 +28,6 @@ tools: tool_resources: OrdersAnalyst: semantic_view: "{{ ref('orders_semantic_view') }}" + execution_environment: + type: "warehouse" + warehouse: "{{ env_var('SNOWFLAKE_TEST_WAREHOUSE', 'COMPUTE_WH') }}"