mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-08 12:53:50 -05:00
Revert "Implemented weekend discount"
This reverts commit 17923847f40863e977588d1a81bec2ae16e9801f.
This commit is contained in:
@@ -25,7 +25,7 @@ from core.llm.convo import Convo
|
|||||||
from core.llm.parser import DescriptiveCodeBlockParser, OptionalCodeBlockParser
|
from core.llm.parser import DescriptiveCodeBlockParser, OptionalCodeBlockParser
|
||||||
from core.log import get_logger
|
from core.log import get_logger
|
||||||
from core.telemetry import telemetry
|
from core.telemetry import telemetry
|
||||||
from core.ui.base import ProjectStage, UISource
|
from core.ui.base import ProjectStage
|
||||||
|
|
||||||
log = get_logger(__name__)
|
log = get_logger(__name__)
|
||||||
|
|
||||||
@@ -168,10 +168,6 @@ class Frontend(FileDiffMixin, GitMixin, BaseAgent):
|
|||||||
if user_input:
|
if user_input:
|
||||||
await self.send_message("Errors detected, fixing...")
|
await self.send_message("Errors detected, fixing...")
|
||||||
else:
|
else:
|
||||||
await self.ui.send_message(
|
|
||||||
"Use code CODE20 and subscribe https://pythagora.ai/pricing",
|
|
||||||
source=UISource("Congratulations", "success"),
|
|
||||||
)
|
|
||||||
answer = await self.ask_question(
|
answer = await self.ask_question(
|
||||||
"Do you want to change anything or report a bug?" if frontend_only else FE_CHANGE_REQ,
|
"Do you want to change anything or report a bug?" if frontend_only else FE_CHANGE_REQ,
|
||||||
buttons={"yes": "I'm done building the UI"} if not frontend_only else None,
|
buttons={"yes": "I'm done building the UI"} if not frontend_only else None,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ from core.llm.parser import StringParser
|
|||||||
from core.log import get_logger
|
from core.log import get_logger
|
||||||
from core.telemetry import telemetry
|
from core.telemetry import telemetry
|
||||||
from core.templates.registry import PROJECT_TEMPLATES
|
from core.templates.registry import PROJECT_TEMPLATES
|
||||||
from core.ui.base import ProjectStage, UISource
|
from core.ui.base import ProjectStage
|
||||||
|
|
||||||
log = get_logger(__name__)
|
log = get_logger(__name__)
|
||||||
|
|
||||||
@@ -122,9 +122,6 @@ class SpecWriter(BaseAgent):
|
|||||||
|
|
||||||
await self.ui.send_front_logs_headers("specs_0", ["E1 / T1", "Writing Specification", "working"], "")
|
await self.ui.send_front_logs_headers("specs_0", ["E1 / T1", "Writing Specification", "working"], "")
|
||||||
|
|
||||||
await self.ui.send_message(
|
|
||||||
"Use code CODE20 and subscribe https://pythagora.ai/pricing", source=UISource("Congratulations", "success")
|
|
||||||
)
|
|
||||||
await self.send_message(
|
await self.send_message(
|
||||||
"## Write specification\n\nPythagora is generating a detailed specification for app based on your input.",
|
"## Write specification\n\nPythagora is generating a detailed specification for app based on your input.",
|
||||||
# project_state_id="setup",
|
# project_state_id="setup",
|
||||||
|
|||||||
Reference in New Issue
Block a user