Compare commits

..

2 Commits

Author SHA1 Message Date
04773bb28a Imroved the ChatData 2025-11-05 23:07:48 +01:00
f870481a7d Set iframe url to dev2 2025-11-05 23:05:47 +01:00
2 changed files with 18 additions and 9 deletions

View File

@ -1,14 +1,23 @@
import type { RoleDefinition } from "./Roles";
export interface ChatAttachment {
file_name: string;
ext: string;
base64: string;
type?: string;
title?: string;
category?: string;
note?: string;
}
export interface ChatData {
type: string;
content: string;
metadata: {
createdAt: string;
lastModified: string;
sender: string;
recipient: string;
};
timestamp: number;
receiver: string;
messages: [string];
data?: ChatAttachment[];
role?: string;
ia?: boolean;
title?: string;
}
export function isChatData(data: any): data is ChatData {

View File

@ -10,7 +10,7 @@ export const COMPANY_INFO = {
// External URLs
export const EXTERNAL_URLS = {
iframe: 'https://dev3.4nkweb.com',
iframe: 'https://dev2.4nkweb.com',
gitRepository: 'https://git.4nkweb.com',
lecoffre: 'https://lecoffre.io'
}