From 0f8c2f4e30d0f9cd3d1079c60e892f3f841944e2 Mon Sep 17 00:00:00 2001 From: paulclindo Date: Fri, 13 Dec 2024 21:29:04 -0500 Subject: [PATCH] fixes --- apps/shinkai-desktop/src/pages/create-task.tsx | 8 ++++---- apps/shinkai-desktop/src/pages/task-logs.tsx | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/shinkai-desktop/src/pages/create-task.tsx b/apps/shinkai-desktop/src/pages/create-task.tsx index 33ef51760..9b09d75d9 100644 --- a/apps/shinkai-desktop/src/pages/create-task.tsx +++ b/apps/shinkai-desktop/src/pages/create-task.tsx @@ -90,7 +90,7 @@ function CreateTaskPage() { const form = useForm({ resolver: zodResolver(createTaskFormSchema), defaultValues: { - name: 'Hacker News', + name: 'Hacker News Task', description: 'Hacker News yada yada', cronExpression: '* * * * *', jobConfig: { @@ -106,7 +106,7 @@ function CreateTaskPage() { }, llmOrAgentId: defaultAgentId, jobMessage: { - content: 'Search in duckduckgo about hacker news', + content: 'Search in duckduckgo about top hacker news stories', toolKey: 'local:::shinkai_tool_duckduckgo_search:::shinkai__duckduckgo_search', }, @@ -234,7 +234,7 @@ function CreateTaskPage() {
- Select Tool (optional) + Select AI/Agent { @@ -245,7 +245,7 @@ function CreateTaskPage() {
- Select AI/Agent + Select Tool (optional) diff --git a/apps/shinkai-desktop/src/pages/task-logs.tsx b/apps/shinkai-desktop/src/pages/task-logs.tsx index f4c7103ab..4e768a844 100644 --- a/apps/shinkai-desktop/src/pages/task-logs.tsx +++ b/apps/shinkai-desktop/src/pages/task-logs.tsx @@ -100,11 +100,17 @@ export const TaskLogs = () => { {isSuccess && logs.length === 0 && (

No runs for this cron task yet

-

+

check the schedule for your cron tasks to see when it runs

)} + {isSuccess && logs.length > 0 && ( +
+

Logs found

+

TODO: Display logs

+
+ )} {/*{isSuccess && (*/} {/*