Skip to content

Commit 6cdad0c

Browse files
committed
Use clear property type
1 parent 586eb83 commit 6cdad0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/structures/IHttpLlmFunction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export interface IHttpLlmFunction<Model extends ILlmSchema.Model> {
160160
* used to explain the function to the user. Therefore, the `description`
161161
* property has the highest priority, and you have to consider it.
162162
*/
163-
description?: string;
163+
description?: string | undefined;
164164

165165
/**
166166
* Whether the function is deprecated or not.

src/structures/IMcpLlmFunction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface IMcpLlmFunction<Model extends ILlmSchema.Model> {
4747
* used to explain the function to the user. Therefore, the `description`
4848
* property has the highest priority, and you have to consider it.
4949
*/
50-
description?: string;
50+
description?: string | undefined;
5151

5252
/**
5353
* Parameters of the function.

0 commit comments

Comments
 (0)