brew install stacklok/tap/minder
winget install stacklok.minder
BUG_SOW_SYSTEM_PROMPT = """You are an expert software engineer helping a user create a Statement of Work (SoW) for a bug fix. | |
Your goal is to guide the user through creating a comprehensive SoW by asking relevant questions. | |
Follow these steps in a conversational, friendly manner: | |
1. Ask about the bug's symptoms and behavior | |
2. Ask about reproduction steps | |
3. Ask about the expected vs actual behavior | |
4. Ask about any error messages or logs | |
5. Ask about the environment where the bug occurs | |
6. Ask about any workarounds or temporary fixes |
[2025-04-09T13:16:53Z INFO ragrust::query] Processing query: Add --quiet CLI flag to SQLFluff | |
Add --quiet/-q flag option to Click command interface | |
Implement flag in main CLI entry point | |
Ensure flag is recognized across all relevant commands | |
Add type hints and docstrings for new parameter | |
{ | |
"code_snippets": [ | |
{ | |
"entity_id": "361af743-97a1-4961-b906-ddf4f1113239", |
================================================ | |
Generated Code from Agent One (OpenAI) | |
================================================ | |
FILE: src/main.py | |
```python | |
# This is a simple Python program that displays the message "Hello, World!" | |
print("Hello, World!") | |
``` | |
Change Log: |
import nltk | |
import ast | |
import difflib | |
# Make sure you have the required NLTK resource punkt | |
# cat punkt.py ✔ 3694 19:31:56 | |
# import nltk | |
# nltk.download('punkt_tab') | |
# [nltk_data] Downloading package punkt_tab to | |
# [nltk_data] /Users/lhinds/nltk_data... |
odegate@5e82df9af202:/app/src/codegate/ca$ cat codegate_ca.py | |
import os | |
import ssl | |
from dataclasses import dataclass | |
from datetime import datetime, timedelta, timezone | |
from typing import Dict, Optional, Tuple | |
import structlog | |
from cryptography import x509 | |
from cryptography.exceptions import InvalidSignature |
odegate serve --log-level ERROR --vllm-url https://inference.codegate.ai | |
2024-12-05 13:04:01 [debug ] Initializing DB from path: /Users/lhinds/repos/stacklok/codegate-repos/codegate/codegate.db | |
{"event": "Started /Users/lhinds/.cache/weaviate-embedded: process ID 63053", "level": "info", "timestamp": "2024-12-05T13:04:02.3dZ", "module": "embedded"} | |
{"build_git_commit":"ab0312d5d","build_go_version":"go1.23.1","build_image_tag":"localhost","build_wv_version":"1.26.6","error":"cannot find peer","level":"error","msg":"transferring leadership","time":"2024-12-05T13:04:05Z"} | |
/Users/lhinds/Library/Caches/pypoetry/virtualenvs/codegate-gFzJOOiQ-py3.11/lib/python3.11/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions | |
warnings.warn( # deprecated in 14.0 - 2024-11-09 | |
/Users/lhinds/Library/Caches/pypoetry/virtualenvs/codegate-gFzJOOiQ-py3.11/lib/python3.11/site-packages/uvico |
"text": "You are Cline, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.\n\n====\n\nTOOL USE\n\nYou have access to a set of tools that are executed upon the user's approval. You can use one tool per message, and will receive the result of that tool use in the user's response. You use tools step-by-step to accomplish a given task, with each tool use informed by the result of the previous tool use.\n\n# Tool Use Formatting\n\nTool use is formatted using XML-style tags. The tool name is enclosed in opening and closing tags, and each parameter is similarly enclosed within its own set of tags. Here's the structure:\n\n\u003ctool_name\u003e\n\u003cparameter1_name\u003evalue1\u003c/parameter1_name\u003e\n\u003cparameter2_name\u003evalue2\u003c/parameter2_name\u003e\n...\n\u003c/tool_name\u003e\n\nFor example:\n\n\u003cread_file\u003e\n\u003cpath\u003esrc/main.js\u003c/path\u003e\n\u003c/read_file\u003e\n\nAlways adhere to this |
from promptsmith import EngineArguments, DataEngine, TopicTree, TopicTreeArguments | |
# Define the system prompt | |
system_prompt = ( | |
"You are a knowledgeable dog expert. You provide detailed advice about dogs, " | |
"including training, health, breeds, and care. Always include specific examples " | |
"and practical advice." | |
) | |
# Create root prompts based on major dog topics |
package_name,package_version,version_date,stargazers_count,watchers_count,forks_count,open_issues_count,contributor_count,deprecated,archived,summary_score,summary_typosquatting,summary_provenance,summary_activity_user,summary_activity_repo,summary_activity,summary_trust_summary,summary_malicious,last_commit_date | |
github.com/ishidawataru/sctp,v0.0.0-20230406120618-7ff4192f6ff2,2023-04-06T12:06:18,128,17,57,17,12,False,False,5.6,10.0,10.0,7.2,4.2,5.6,2.3,False,2023-04-06T12:06:18Z | |
github.com/aws/aws-sdk-go-v2/feature/ec2/imds,v1.16.11,2024-07-10T22:57:16,2513,52,604,42,125,False,False,6.4,10.0,10.0,6.5,6.4,6.4,6.4,False,2024-07-18T19:40:11Z | |
google.golang.org/grpc,v1.65.0,2024-07-02T15:22:47,20550,482,4290,131,495,False,False,8.3,10.0,10.0,8.0,8.6,8.3,8.8,False, | |
github.com/spf13/viper,v1.19.0,2024-06-01T12:57:38,26402,248,2009,394,169,False,False,9.1,10.0,10.0,10.0,8.2,9.1,7.6,False,2024-07-15T19:12:39Z | |
github.com/evanphx/json-patch,v0.5.2,2021-01-05T22:22:46,1029,13,181,2,53,False,False,6.5,10.0,10.0,8.5,4.6,6. |