Skip to content

Commit

Permalink
Merge pull request #580 from dcSpark/feature/sql-schema
Browse files Browse the repository at this point in the history
Feature/sql schema
  • Loading branch information
acedward authored Dec 27, 2024
2 parents e946e68 + 976be16 commit 2555f49
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/shinkai-desktop/src/components/playground-tool/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ export const ToolMetadataSchema = z.object({
)
.passthrough(),

sqlTables: z.array(z.string()).default([]),
sqlQueries: z.array(z.string()).default([]),
sqlTables: z.array(z.object({
name: z.string(),
definition: z.string(),
})).default([]),
sqlQueries: z.array(z.object({
name: z.string(),
query: z.string(),
})).default([]),
tools: z.array(z.string()).default([]),
oauth: z.array(
z.object({
Expand Down

0 comments on commit 2555f49

Please sign in to comment.