char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
0021a77de
char/aliceai-t5-moe
1import { BuiltInTool , JsonSchemaType , ToolCallType } from '$lib/enums' ; 2import type { OpenAIToolDefinition } from '$lib/types' ; 3 4export const GET_DATETIME_TOOL_NAME = BuiltInTool . BROWSER_GET_DATETIME ; 5 6export function buildGetDatetimeToolDefinition () :OpenAIToolDefinition { 7return { 8function :{ 9description : 10'Returns the current local date and time in ISO 8601 format, with the IANA time zone name' , 11name :GET_DATETIME_TOOL_NAME , 12parameters :{ 13properties :{}, 14required :[], 15type :JsonSchemaType . OBJECT 16} 17}, 18type :ToolCallType . FUNCTION 19}; 20}