Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "GeoSpatial Route Planner Agent", | |
"description": "Provides advanced route planning, traffic analysis, and custom map generation services. This agent can calculate optimal routes, estimate travel times considering real-time traffic, and create personalized maps with points of interest.", | |
"url": "https://georoute-agent.example.com/a2a/v1", | |
"provider": { | |
"organization": "Example Geo Services Inc.", | |
"url": "https://www.examplegeoservices.com" | |
}, | |
"iconUrl": "https://georoute-agent.example.com/icon.png", | |
"version": "1.2.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================ | |
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder