mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 06:56:44 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
c0d18506f8
commit
b687ad9b72
2 changed files with 2 additions and 9 deletions
|
|
@ -670,12 +670,3 @@ const rootRouteChildren: RootRouteChildren = {
|
||||||
export const routeTree = rootRouteImport
|
export const routeTree = rootRouteImport
|
||||||
._addFileChildren(rootRouteChildren)
|
._addFileChildren(rootRouteChildren)
|
||||||
._addFileTypes<FileRouteTypes>()
|
._addFileTypes<FileRouteTypes>()
|
||||||
|
|
||||||
import type { getRouter } from './router.tsx'
|
|
||||||
import type { createStart } from '@tanstack/react-start'
|
|
||||||
declare module '@tanstack/react-start' {
|
|
||||||
interface Register {
|
|
||||||
ssr: true
|
|
||||||
router: Awaited<ReturnType<typeof getRouter>>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -247,9 +247,11 @@ export async function ensureDefaultSkillsForAgent(
|
||||||
description: template.description,
|
description: template.description,
|
||||||
trigger_keywords: template.trigger_keywords,
|
trigger_keywords: template.trigger_keywords,
|
||||||
status: "draft",
|
status: "draft",
|
||||||
|
is_default: true,
|
||||||
})
|
})
|
||||||
.select("id")
|
.select("id")
|
||||||
.single();
|
.single();
|
||||||
|
|
||||||
const skill = skillData as { id: string } | null;
|
const skill = skillData as { id: string } | null;
|
||||||
|
|
||||||
if (skillErr || !skill) {
|
if (skillErr || !skill) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue