Skip to content

Commit

Permalink
Ailly at 1.2.5-rc1 with windows working for 2 engineers
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSouther committed Mar 18, 2024
1 parent e109589 commit 362eacb
Show file tree
Hide file tree
Showing 4 changed files with 723 additions and 690 deletions.
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)


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

0 comments on commit 362eacb

Please sign in to comment.