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

Tools: Ailly at 1.2.5-rc1 with windows working for 2 engineers #6257

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions .tools/ailly/ailly.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def run_ailly(source: str, example: Path, target: str, instructions: str = ""):
f"Translate the final block of code from {source} to {target} programming language. {instructions}",
]
logging.info("Converting %s to %s", example, target)
args = ["npx", AILLY, *engine, *plugin, *root, *out, *prompt, "--isolated"]
args = ["npx", AILLY, *engine, *plugin, *root, *out, *prompt, "--isolated", "."]
print("cd '" + str(base) + "' ; " + " ".join(f"'{str(arg)}'" for arg in args))
subprocess.run(args, cwd=base)
subprocess.run(args, cwd=base, shell=True)
meyertst-aws marked this conversation as resolved.
Show resolved Hide resolved


def main():
Expand Down Expand Up @@ -109,7 +109,7 @@ def main():
example = (
Path(__file__).parent.parent.parent
/ args.language
# / "example_code"
/ "example_code"
/ args.service
)
if args.clean:
Expand Down
Loading
Loading