Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
liamgriffiths committed Aug 5, 2024
1 parent 08c297d commit e39fdcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/mixture-of-agents/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"GPT-4o Mini",
"Llama 3.1 8B",
"Mixtral 8x7B",
]
];
const individualResults = "{{ individual }}";
const aggResults = "{{ summaries }}";

Expand All @@ -190,7 +190,7 @@
contentArea.textContent =
individualResults[currentLayer][currentIndex].trim();

cardTitle.textContent = `${modelNames[currentIndex]} - Layer ${ currentLayer + 1 }`;
cardTitle.textContent = `${modelNames[currentIndex]} - Layer ${currentLayer + 1}`;
} else {
contentArea.textContent = aggResults[currentLayer].trim();
cardTitle.textContent = `MoA Layer ${currentLayer + 1}`;
Expand Down
1 change: 0 additions & 1 deletion examples/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env -S npx ts-node --transpileOnly


class Foo<F extends (...args: any[]) => any> {
f: F;

Expand Down
2 changes: 1 addition & 1 deletion src/Substrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export class Substrate {

module = {
/**
* Returns an object that represents a publishable "module" or code that can be used to construct
* Returns an object that represents a publishable "module" or code that can be used to construct
* a `Module` node.
*/
serialize: ({ nodes, inputs }: { nodes: Node[]; inputs: ModuleInputs }) => {
Expand Down

0 comments on commit e39fdcf

Please # to comment.