Merge pull request #265 from Pythagora-io/feature/ENG-1338-change-model-for-testing-instructions

(ENG-1338) Change LLM model for testing instructions
This commit is contained in:
LeonOstrez
2025-07-27 20:21:40 +02:00
committed by GitHub
6 changed files with 21 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# (2025-07-03)
# (2025-07-23)

View File

@@ -97,6 +97,11 @@
"provider": "openai",
"model": "claude-sonnet-4-20250514",
"temperature": 0.0
},
"Troubleshooter.define_user_review_goal": {
"provider": "anthropic",
"model": "claude-sonnet-4-20250514",
"temperature": 0.0
}
},
"prompt": {

View File

@@ -1,4 +1,5 @@
{
"workbench.startupEditor": "none",
"workbench.statusBar.visible": false,
"workbench.editor.showTabs": "none",
"chat.commandCenter.enabled": false,

View File

@@ -212,7 +212,13 @@ async def run_pythagora_session(sm: StateManager, ui: UIBase, args: Namespace):
fe_states = await sm.get_fe_states(limit=10)
be_back_logs, last_task_in_db = await sm.get_be_back_logs()
if sm.current_state.specification and sm.current_state.specification.original_description:
if sm.current_state.specification:
if not sm.current_state.specification.original_description:
spec = sm.current_state.specification
spec.description = project_state.epics[0]["description"]
spec.original_description = project_state.epics[0]["description"]
await sm.update_specification(spec)
await ui.send_front_logs_headers(
"",
["E1 / T1", "Writing Specification", "working" if fe_states == [] else "done"],

View File

@@ -45,6 +45,7 @@ PARSE_TASK_AGENT_NAME = "Developer.parse_task"
TASK_BREAKDOWN_AGENT_NAME = "Developer.breakdown_current_task"
TROUBLESHOOTER_BUG_REPORT = "Troubleshooter.generate_bug_report"
TROUBLESHOOTER_GET_RUN_COMMAND = "Troubleshooter.get_run_command"
TROUBLESHOOTER_DEFINE_USER_REVIEW_GOAL = "Troubleshooter.define_user_review_goal"
TECH_LEAD_PLANNING = "TechLead.plan_epic"
TECH_LEAD_EPIC_BREAKDOWN = "TechLead.epic_breakdown"
SPEC_WRITER_AGENT_NAME = "SpecWriter"
@@ -406,6 +407,11 @@ class Config(_StrictModel):
model="claude-sonnet-4-20250514",
temperature=0.0,
),
TROUBLESHOOTER_DEFINE_USER_REVIEW_GOAL: AgentLLMConfig(
provider=LLMProvider.OPENAI,
model="claude-sonnet-4-20250514",
temperature=0.0,
),
}
)
prompt: PromptConfig = PromptConfig()

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pythagora-core"
version = "2.0.2"
version = "2.0.6"
description = "Build complete apps using AI agents"
authors = ["Leon Ostrez <leon@pythagora.ai>"]
license = "FSL-1.1-MIT"