Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make vars capital in smoke tests #738

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/tests/smoke/testdata/Bob/test.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ name: bob
description: I'm Bob, a friendly guy.
args: question: The question to ask Bob.

When asked how I am doing, respond with exactly "Thanks for asking "${question}", I'm doing great fellow friendly AI tool!"
When asked how I am doing, respond with exactly "Thanks for asking "${QUESTION}", I'm doing great fellow friendly AI tool!"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this was merged already but as a point of interest, this is not really an env var - this tool is not a 'code tool', so this interpolation syntax is really just there as a hint for the llm.

2 changes: 1 addition & 1 deletion pkg/tests/smoke/testdata/BobAsShell/test.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ args: question: The question to ask Bob.

#!/bin/bash

echo "Thanks for asking ${question}, I'm doing great fellow friendly AI tool!"
echo "Thanks for asking ${QUESTION}, I'm doing great fellow friendly AI tool!"