Merge branch 'SciSharp:master' into master

This commit is contained in:
Joanna Ren 2024-10-16 17:07:28 -05:00 committed by GitHub
commit 5350f59188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -99,6 +99,11 @@ public class ExecuteQueryFn : IFunctionCallback
private async Task<ExecuteQueryArgs> RefineSqlStatement(RoleDialogModel message, ExecuteQueryArgs args)
{
if (args.Tables == null || args.Tables.Length == 0)
{
return args;
}
// get table DDL
var fn = _services.GetRequiredService<IRoutingService>();
var msg = RoleDialogModel.From(message);

View file

@ -20,13 +20,13 @@
"tables": {
"type": "array",
"description": "all related tables",
"description": "all related tables in the sql statements",
"items": {
"type": "string",
"description": "table name"
}
}
},
"required": [ "sql_statement", "tables", "formatting_result" ]
"required": [ "sql_statements", "tables", "formatting_result" ]
}
}