Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

feat: Let the user add their own system prompts - #643

Merged
aponcedeleonch merged 8 commits into
mainfrom
workspace-system-prompt
Jan 20, 2025
Merged

feat: Let the user add their own system prompts#643
aponcedeleonch merged 8 commits into
mainfrom
workspace-system-prompt

Conversation

@aponcedeleonch

@aponcedeleonchaponcedeleonch commented Jan 17, 2025

Copy link
Copy Markdown
Member

Related: #454

This PR introduces being able to add system-prompts to workspaces. The workspace system prompts are added in the step that we are using to add CodeGate system prompt. The order of the prompts will be the following assuming all of them are present:

  • CodeGate system prompt
  • Workspace system prompt
  • Request system prompt

The corresponding CLI command is also created and the documentation in the CLI is updated

@aponcedeleonch
aponcedeleonch marked this pull request as draft January 17, 2025 15:29
@aponcedeleonch
aponcedeleonch marked this pull request as ready for review January 20, 2025 10:18
Comment threadsrc/codegate/api/v1.py
Comment threadsrc/codegate/db/connection.py
Comment threadsrc/codegate/db/connection.py
Comment threadsrc/codegate/db/connection.py
Comment threadsrc/codegate/pipeline/cli/commands.py Outdated
Comment threadsrc/codegate/pipeline/cli/commands.py Outdated
Comment threadsrc/codegate/workspaces/crud.py
Comment threadsrc/codegate/pipeline/cli/commands.py Outdated
Comment threadsrc/codegate/pipeline/cli/commands.py Outdated
Related: #454
This PR is not ready yet. For the moment it adds the system prompts
to DB and associates it to a workspace.
It's missing to use the system prompt and actually send it to the
LLM

@JAORMXJAORMX left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shipit 🚢

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@aponcedeleonch@JAORMX