youclaw 4.6.7__tar.gz → 4.6.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {youclaw-4.6.7/src/youclaw.egg-info → youclaw-4.6.8}/PKG-INFO +1 -1
- {youclaw-4.6.7 → youclaw-4.6.8}/pyproject.toml +1 -1
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/dashboard.py +6 -2
- {youclaw-4.6.7 → youclaw-4.6.8/src/youclaw.egg-info}/PKG-INFO +1 -1
- {youclaw-4.6.7 → youclaw-4.6.8}/LICENSE +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/MANIFEST.in +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/README.md +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/setup.cfg +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/__init__.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/bot.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/cli.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/commands.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/config.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/core_skills.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/discord_handler.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/env_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/main.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/memory_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/ollama_client.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/personality_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/scheduler_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/search_client.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/skills_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/telegram_handler.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw/vector_manager.py +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw.egg-info/SOURCES.txt +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw.egg-info/dependency_links.txt +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw.egg-info/entry_points.txt +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw.egg-info/requires.txt +0 -0
- {youclaw-4.6.7 → youclaw-4.6.8}/src/youclaw.egg-info/top_level.txt +0 -0
|
@@ -53,7 +53,8 @@ async def get_user_identity(request):
|
|
|
53
53
|
async def check_admin(request):
|
|
54
54
|
"""Check if the session user is an admin + token verification"""
|
|
55
55
|
auth = await verify_session(request)
|
|
56
|
-
|
|
56
|
+
# Universal Admin: If you can login, you are the owner.
|
|
57
|
+
return auth is not None
|
|
57
58
|
|
|
58
59
|
|
|
59
60
|
@routes.get('/')
|
|
@@ -145,7 +146,10 @@ async def api_stats(request):
|
|
|
145
146
|
active_p = await memory_manager.get_global_setting("active_personality", DEFAULT_PERSONALITY)
|
|
146
147
|
personality_name = PERSONALITIES.get(active_p, PERSONALITIES[DEFAULT_PERSONALITY])['name']
|
|
147
148
|
|
|
148
|
-
|
|
149
|
+
try:
|
|
150
|
+
ollama_health = await ollama_client.check_health()
|
|
151
|
+
except:
|
|
152
|
+
ollama_health = False
|
|
149
153
|
|
|
150
154
|
stats = {
|
|
151
155
|
"status": "online",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|