feat: add optional instructions field to server _oninitialize
This commit is contained in:
parent
29d08ff801
commit
54472d2ae1
1 changed files with 14 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ test("should accept latest protocol version", async () => {
|
|||
name: "test server",
|
||||
version: "1.0",
|
||||
},
|
||||
instructions: "Test instructions",
|
||||
});
|
||||
sendPromiseResolve(undefined);
|
||||
}
|
||||
|
|
@ -57,6 +58,7 @@ test("should accept latest protocol version", async () => {
|
|||
tools: {},
|
||||
logging: {},
|
||||
},
|
||||
instructions: "Test instructions",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue