Skip to content

Commit

Permalink
merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jan 31, 2024
1 parent 967bd66 commit 5fd57e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions promptlib/promptlib/aici.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ def _upload_wasm(base_url, wasm_runner_path):
)


def _submit_program(base_url, aici_module, aici_arg, temperature=0, max_tokens=200, n=1, log=False):
return aici_rest.completion("", aici_module, aici_arg, temperature, max_tokens, n, ignore_eos=False, base_url=base_url)
def _submit_program(base_url, aici_module, aici_arg, temperature=0, max_tokens=200, log=False):
return aici_rest.run_controller(controller=aici_module, controller_arg=aici_arg, temperature=temperature, max_tokens=max_tokens, base_url=base_url)

0 comments on commit 5fd57e4

Please sign in to comment.