Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion optimize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def is_openrouter(url: str) -> bool:

def langfuse_available() -> bool:
"""True when the configured Langfuse answers its health endpoint (3s probe). The A/B gate
and the miner use this to choose between experiment-logged runs and the local lite path."""
uses this to decide whether to log the holdout run as a Langfuse experiment or run it
locally without experiment logging. (The miner has no local fallback: it fails loud.)"""
import urllib.request
base = os.environ.get("LANGFUSE_BASE_URL", "http://langfuse-web:3000").rstrip("/")
try:
Expand Down
11 changes: 6 additions & 5 deletions scripts/fetch_skills.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
#
# Usage:
# scripts/fetch_skills.sh all # every source below
# scripts/fetch_skills.sh anthropics trailofbits # just these
# scripts/fetch_skills.sh anthropics lambdatest # just these
#
# Sources (curated from https://github.com/VoltAgent/awesome-agent-skills):
# anthropics anthropics/skills document skills (pdf, docx, …) per-skill license (frontmatter)
# nvidia nvidia/skills GPU / infra / data / imaging Apache-2.0
# lambdatest LambdaTest/agent-skills testing frameworks MIT
# Disabled sources (uncomment in SOURCES and lookup() to re-enable):
# nvidia nvidia/skills GPU / infra / data / imaging Apache-2.0
# trailofbits trailofbits/skills security analysis CC-BY-SA-4.0
set -euo pipefail

Expand All @@ -36,13 +37,13 @@ fetch() { # repo cap license

# source lookup as a case statement (not `declare -A`): macOS ships bash 3.2, which has no
# associative arrays
SOURCES="anthropics nvidia lambdatest trailofbits"
SOURCES="anthropics lambdatest"
lookup() { # source -> "repo cap license" ("" if unknown)
case "$1" in
anthropics) echo "anthropics/skills 0 per-skill(frontmatter)" ;;
nvidia) echo "nvidia/skills 30 Apache-2.0" ;;
lambdatest) echo "LambdaTest/agent-skills 12 MIT" ;;
trailofbits) echo "trailofbits/skills 12 CC-BY-SA-4.0" ;;
# nvidia) echo "nvidia/skills 30 Apache-2.0" ;;
# trailofbits) echo "trailofbits/skills 12 CC-BY-SA-4.0" ;;
Comment thread
coderabbitai[bot] marked this conversation as resolved.
esac
}

Expand Down
Loading