Files
wehub-resource-sync e64161ec32
CI / ci (3.11) (push) Has been cancelled
CI / ci (3.10) (push) Has been cancelled
CI / dependabot (push) Has been cancelled
Release / release_and_publish (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:36:15 +08:00

55 lines
1001 B
Python

"""
RL UI Configuration Constants
"""
from typing import Literal
# Event type definition
EventType = Literal[
"scenario",
"llm_call",
"template",
"experiment",
"code",
"docker_exec",
"feedback",
"token",
"time",
"settings",
"hypothesis",
]
# Event type icons
ICONS = {
"scenario": "🎯",
"llm_call": "💬",
"template": "📋",
"experiment": "🧪",
"code": "📄",
"docker_exec": "🐳",
"feedback": "📊",
"token": "🔢",
"time": "⏱️",
"settings": "⚙️",
"hypothesis": "💡",
}
# Always visible event types
ALWAYS_VISIBLE_TYPES = [
"scenario",
"hypothesis",
"llm_call",
"experiment",
"code",
"docker_exec",
"feedback",
]
# Optional event types with toggle config (label, default_enabled)
OPTIONAL_TYPES = {
"template": ("📋 Template", False),
"token": ("🔢 Token", False),
"time": ("⏱️ Time", False),
"settings": ("⚙️ Settings", False),
}