Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial dashboard functionality #175

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

aponcedeleonch
Copy link
Contributor

  • Add file for the endpoints of the dashboard
  • Add endpoint to retrieve messages in DB grouped by conversation
  • Implement functionality for grouping messages
  • Add unit tests for the new endpoints and grouping functionality

- Add file for the endpoints of the dashboard
- Add endpoint to retrieve messages in DB grouped by conversation
- Implement functionality for grouping messages
- Add unit tests for the new endpoints and grouping functionality
logger = structlog.get_logger("codegate")


SYSTEM_PROMPTS = [
Copy link
Contributor

Choose a reason for hiding this comment

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

I figure this is for filtering the system message out for display on the dashboard, we are not sending anything to the LLM from here?

Copy link
Contributor Author

@aponcedeleonch aponcedeleonch Dec 4, 2024

Choose a reason for hiding this comment

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

Exactly, this is just for not showing system prompts on the dashboard. There's no LLM interaction over here. Specifically this is a system prompt that we're getting for openai in Continue.

@aponcedeleonch aponcedeleonch merged commit 334e18a into main Dec 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants