summaryrefslogtreecommitdiff
path: root/makima/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/server')
-rw-r--r--makima/src/server/handlers/contract_chat.rs1
-rw-r--r--makima/src/server/handlers/transcript_analysis.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/makima/src/server/handlers/contract_chat.rs b/makima/src/server/handlers/contract_chat.rs
index 557e27b..e2bd10e 100644
--- a/makima/src/server/handlers/contract_chat.rs
+++ b/makima/src/server/handlers/contract_chat.rs
@@ -2374,6 +2374,7 @@ async fn handle_contract_request(
let contract_req = crate::db::models::CreateContractRequest {
name: contract_name.clone(),
description: contract_description,
+ contract_type: Some("specification".to_string()),
initial_phase: Some("research".to_string()),
};
diff --git a/makima/src/server/handlers/transcript_analysis.rs b/makima/src/server/handlers/transcript_analysis.rs
index 1cb5506..2c38eea 100644
--- a/makima/src/server/handlers/transcript_analysis.rs
+++ b/makima/src/server/handlers/transcript_analysis.rs
@@ -274,6 +274,7 @@ pub async fn create_contract_from_analysis(
let contract_req = models::CreateContractRequest {
name: contract_name.clone(),
description: contract_description,
+ contract_type: Some("specification".to_string()),
initial_phase: Some("research".to_string()),
};