Fixed timestamp breaking api calls
This commit is contained in:
@@ -12,7 +12,7 @@ export type LLMMessage = {
|
||||
/** Message content */
|
||||
content: string | any;
|
||||
/** Timestamp */
|
||||
timestamp: number;
|
||||
timestamp?: number;
|
||||
} | {
|
||||
/** Tool call */
|
||||
role: 'tool';
|
||||
@@ -27,7 +27,7 @@ export type LLMMessage = {
|
||||
/** Tool error */
|
||||
error: undefined | string;
|
||||
/** Timestamp */
|
||||
timestamp: number;
|
||||
timestamp?: number;
|
||||
}
|
||||
|
||||
export type LLMOptions = {
|
||||
|
||||
Reference in New Issue
Block a user