Skip to content

Commit

Permalink
wip: Stub model results DO NOT MERGE
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Jun 7, 2024
1 parent e611990 commit a16e617
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,18 @@ def run(self, *args, **kwargs): # pylint: disable=unused-argument

task = response["task"]
provider = response["provider"]
print(task)
print(provider)

nc.set_user(task["userId"])

# TODO: Remove stub
nc.providers.task_processing.report_result(
task["id"],
{"output": "result"},
)
continue

try:
chain_name = provider["name"][5:]
print(f"chain: {chain_name}", flush=True)
Expand Down

0 comments on commit a16e617

Please sign in to comment.