Skip to content

Commit

Permalink
Dummy framework rename. Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalski committed Jan 17, 2024
1 parent 832c4ee commit c83f48a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/ya-dummy-ai.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "ai",
"name": "dummy",
"version": "0.1.0",
"supervisor-path": "ya-runtime-ai.exe",
"extra-args": [
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ async fn run<T: process::Runtime + Clone + Unpin + 'static>(

gsb::bind_stream(&exe_unit_url, move |mut http_call: GsbHttpCall| {
let stream = http_call.execute("http://localhost:7861/".to_string());
Box::pin(stream.map(|e| Ok(e)))
Box::pin(stream.map(Ok))
});
};
send_state(
Expand Down

0 comments on commit c83f48a

Please sign in to comment.