change GPT Pilot to Pythagora

This commit is contained in:
LeonOstrez
2024-11-11 22:33:49 +01:00
parent 5a1e42cc50
commit dda4a73eca
4 changed files with 7 additions and 7 deletions

View File

@@ -145,7 +145,7 @@ class SpecWriter(BaseAgent):
async def analyze_spec(self, spec: str) -> str:
msg = (
"Your project description seems a bit short. "
"The better you can describe the project, the better GPT Pilot will understand what you'd like to build.\n\n"
"The better you can describe the project, the better Pythagora will understand what you'd like to build.\n\n"
f"Here are some tips on how to better describe the project: {INITIAL_PROJECT_HOWTO_URL}\n\n"
"Let's start by refining your project idea:"
)

View File

@@ -263,7 +263,7 @@ class BaseLLMClient:
[
"We sent too large request to the LLM, resulting in an error. ",
"This is usually caused by including framework files in an LLM request. ",
"Here's how you can get GPT Pilot to ignore those extra files: ",
"Here's how you can get Pythagora to ignore those extra files: ",
"https://bit.ly/faq-token-limit-error",
]
)

View File

@@ -50,7 +50,7 @@ Here's an EXAMPLE initial prompt:
---start-of-example-output---
Online forum similar to Hacker News (news.ycombinator.com), with a simple and clean interface, where people can post links or text posts, and other people can upvote, downvote and comment on. Reading is open to anonymous users, but users must register to post, upvote, downvote or comment. Use simple username+password authentication. The forum should be implemented in Node.js with Express framework, using MongoDB and Mongoose ORM.
The UI should use EJS view engine, Bootstrap for styling and plain vanilla JavaScript. Design should be simple and look like Hacker News, with a top bar for navigation, using a blue color scheme instead of the orange color in HN. The footer in each page should just be "Built using GPT Pilot".
The UI should use EJS view engine, Bootstrap for styling and plain vanilla JavaScript. Design should be simple and look like Hacker News, with a top bar for navigation, using a blue color scheme instead of the orange color in HN. The footer in each page should just be "Built using Pythagora".
Each story has a title (one-line text), a link (optional, URL to an external article being shared on AI News), and text (text to show in the post). Link and text are mutually exclusive - if the submitter tries to use both, show them an error.

View File

@@ -69,9 +69,9 @@ class Telemetry:
self.data = {
# System platform
"platform": sys.platform,
# Python version used for GPT Pilot
# Python version used
"python_version": sys.version,
# GPT Pilot version
# Core version
"pilot_version": get_version(),
# Pythagora VSCode Extension version
"extension_version": None,
@@ -136,7 +136,7 @@ class Telemetry:
"num_tasks": 0,
# Number of seconds elapsed during development
"elapsed_time": 0,
# Total number of lines created by GPT Pilot
# Total number of lines created by Pythagora
"created_lines": 0,
# End result of development:
# - success:initial-project
@@ -150,7 +150,7 @@ class Telemetry:
"is_continuation": False,
# Optional user feedback
"user_feedback": None,
# If GPT Pilot crashes, record diagnostics
# If Core crashes, record diagnostics
"crash_diagnostics": None,
# Statistics for large requests
"large_requests": None,