You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/init.sql
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -290,6 +290,8 @@ CREATE TABLE IF NOT EXISTS nexent.ag_tenant_agent_t (
290
290
business_description VARCHAR,
291
291
model_name VARCHAR(100),
292
292
model_id INTEGER,
293
+
business_logic_model_name VARCHAR(100),
294
+
business_logic_model_id INTEGER,
293
295
max_steps INTEGER,
294
296
duty_prompt TEXT,
295
297
constraint_prompt TEXT,
@@ -330,6 +332,8 @@ COMMENT ON COLUMN nexent.ag_tenant_agent_t.description IS 'Description';
330
332
COMMENT ON COLUMN nexent.ag_tenant_agent_t.business_description IS 'Manually entered by the user to describe the entire business process';
331
333
COMMENT ON COLUMN nexent.ag_tenant_agent_t.model_name IS '[DEPRECATED] Name of the model used, use model_id instead';
332
334
COMMENT ON COLUMN nexent.ag_tenant_agent_t.model_id IS 'Model ID, foreign key reference to model_record_t.model_id';
335
+
COMMENT ON COLUMN nexent.ag_tenant_agent_t.business_logic_model_name IS 'Model name used for business logic prompt generation';
336
+
COMMENT ON COLUMN nexent.ag_tenant_agent_t.business_logic_model_id IS 'Model ID used for business logic prompt generation, foreign key reference to model_record_t.model_id';
333
337
COMMENT ON COLUMN nexent.ag_tenant_agent_t.max_steps IS 'Maximum number of steps';
334
338
COMMENT ON COLUMN nexent.ag_tenant_agent_t.duty_prompt IS 'Duty prompt';
335
339
COMMENT ON COLUMN nexent.ag_tenant_agent_t.constraint_prompt IS 'Constraint prompt';
@@ -344,8 +348,6 @@ COMMENT ON COLUMN nexent.ag_tenant_agent_t.created_by IS 'Creator';
344
348
COMMENT ON COLUMN nexent.ag_tenant_agent_t.updated_by IS 'Updater';
345
349
COMMENT ON COLUMN nexent.ag_tenant_agent_t.delete_flag IS 'Whether it is deleted. Optional values: Y/N';
346
350
347
-
-- Add comments to the columns
348
-
COMMENT ON COLUMN nexent.ag_tenant_agent_t.provide_run_summary IS 'Whether to provide the running summary to the manager agent';
349
351
350
352
-- Create the ag_tool_instance_t table in the nexent schema
351
353
CREATETABLEIF NOT EXISTS nexent.ag_tool_instance_t (
-- Add business_logic_model_name and business_logic_model_id fields to ag_tenant_agent_t table
2
+
-- These fields store the LLM model used for generating business logic prompts
3
+
4
+
ALTERTABLEnexent.ag_tenant_agent_t
5
+
ADD COLUMN IF NOT EXISTS business_logic_model_name VARCHAR(100);
6
+
7
+
ALTERTABLEnexent.ag_tenant_agent_t
8
+
ADD COLUMN IF NOT EXISTS business_logic_model_id INTEGER;
9
+
10
+
COMMENT ON COLUMN nexent.ag_tenant_agent_t.business_logic_model_name IS 'Model name used for business logic prompt generation';
11
+
COMMENT ON COLUMN nexent.ag_tenant_agent_t.business_logic_model_id IS 'Model ID used for business logic prompt generation, foreign key reference to model_record_t.model_id';
0 commit comments