Skip to content

Commit

Permalink
notify inference request
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Nov 27, 2024
1 parent 2b74b9d commit 674e206
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "symmetry-core",
"version": "1.0.18",
"version": "1.0.19",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class SymmetryProvider {
createMessage(serverMessageKeys.join, {
...this._config.getAll(),
discoveryKey: this._discoveryKey?.toString("hex"),
apiKey: '',
apiKey: "",
})
);

Expand Down Expand Up @@ -334,6 +334,7 @@ export class SymmetryProvider {
data: ProviderMessage<InferenceRequest>,
peer: Peer
): Promise<void> {
this._serverPeer?.write(createMessage(serverMessageKeys.inference));
const messages = this.getMessagesWithSystem(data?.data.messages);
const req = this.buildStreamRequest(messages);

Expand Down

0 comments on commit 674e206

Please sign in to comment.