mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-16 11:20:10 +01:00
15cf921616
* Support SQL Agent skill * add MSSQL agent connector * Add frontend to agent skills remove FAKE_DB mock reset skills to pickup child-skill dynamically * add prompt examples for tools on untooled * add better logging on SQL agents * Wipe toolruns on each chat relay so tools can be used within the same session * update comments
22 lines
462 B
JavaScript
22 lines
462 B
JavaScript
const { SqlAgentGetTableSchema } = require("./get-table-schema");
|
|
const { SqlAgentListDatabase } = require("./list-database");
|
|
const { SqlAgentListTables } = require("./list-table");
|
|
const { SqlAgentQuery } = require("./query");
|
|
|
|
const sqlAgent = {
|
|
name: "sql-agent",
|
|
startupConfig: {
|
|
params: {},
|
|
},
|
|
plugin: [
|
|
SqlAgentListDatabase,
|
|
SqlAgentListTables,
|
|
SqlAgentGetTableSchema,
|
|
SqlAgentQuery,
|
|
],
|
|
};
|
|
|
|
module.exports = {
|
|
sqlAgent,
|
|
};
|