Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
snakajima committed May 10, 2024
1 parent a4f6a8c commit d7e6964
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions samples/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ const graph_data = {
},
};

const simplify = (result: Array<any>) => {
const { content, usage } = result[result.length - 1];
return { content, usage };
};

const main = async () => {
const result = await graphDataTestRunner(
"sample_wiki.log",
Expand Down
2 changes: 1 addition & 1 deletion src/experimental_agents/service_agents/fetch_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const fetchAgentInfo = {
headers: {
"Content-Type": "application/json",
},
body: '{"foo":"bar"}',
body: "{\"foo\":\"bar\"}",
},
},
],
Expand Down
6 changes: 3 additions & 3 deletions src/task_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export class TaskManager {
public getStatus(verbose: boolean = false) {
const nodes = verbose
? {
runningNodes: Array.from(this.runningNodes).map((node) => node.nodeId),
queuedNodes: this.taskQueue.map((task) => task.node.nodeId),
}
runningNodes: Array.from(this.runningNodes).map((node) => node.nodeId),
queuedNodes: this.taskQueue.map((task) => task.node.nodeId),
}
: {};
return {
concurrency: this.concurrency,
Expand Down

0 comments on commit d7e6964

Please sign in to comment.