feat: Add chatito language support with test fixture

This commit is contained in:
Paul Gauthier (aider) 2025-03-12 14:40:43 -07:00
parent 0b949f47d9
commit 7c1d2d75e0
2 changed files with 21 additions and 0 deletions

View file

@ -305,6 +305,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
"go": ("go", "Greeter"), "go": ("go", "Greeter"),
"hcl": ("tf", "aws_vpc"), "hcl": ("tf", "aws_vpc"),
"arduino": ("ino", "setup"), "arduino": ("ino", "setup"),
"chatito": ("chatito", "intent"),
} }
fixtures_dir = Path(__file__).parent.parent / "fixtures" / "languages" fixtures_dir = Path(__file__).parent.parent / "fixtures" / "languages"

View file

@ -0,0 +1,20 @@
%[intent]('training': '60', 'testing': '40')
~[greet]
~[greet] @[name?] ~[endPolite?]
%[name]('training': '50', 'testing': '50')
John
Anna
Bob
Sarah
~[greet]
hi
hello
hey
greetings
~[endPolite]
please
thanks
thank you