Skip to content

Commit 486802d

Browse files
Merge pull request #28 from Snowflake-Labs/fix/prompt-filter-python39-compat
Fix prompt_filter.py crash on Python < 3.10 (macOS)
2 parents 4381370 + ddf70fb commit 486802d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/cortex-code/scripts/router/prompt_filter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
and if matched, prints a routing instruction to stdout that gets injected
66
into the conversation context. Runs in <50ms -- no LLM calls, no network.
77
"""
8+
from __future__ import annotations
89

910
import sys
1011
import re

0 commit comments

Comments
 (0)