Spaces:
Running
Running
Update modules/prompt_manager.py
Browse files- modules/prompt_manager.py +21 -0
modules/prompt_manager.py
CHANGED
|
@@ -391,6 +391,27 @@ __all__ = [
|
|
| 391 |
'prompt_manager',
|
| 392 |
'get_system_prompt'
|
| 393 |
]
|
|
|
|
|
|
|
|
|
|
| 394 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 395 |
__version__ = "4.0.0"
|
| 396 |
__author__ = "AumCore AI"
|
|
|
|
| 391 |
'prompt_manager',
|
| 392 |
'get_system_prompt'
|
| 393 |
]
|
| 394 |
+
# ============================================
|
| 395 |
+
# MODULE REGISTRATION FOR APPPY
|
| 396 |
+
# ============================================
|
| 397 |
|
| 398 |
+
def register_module(app, client, username):
|
| 399 |
+
"""
|
| 400 |
+
Required function for ModuleManager to load this module
|
| 401 |
+
"""
|
| 402 |
+
print("✅ Prompt Manager module registered with FastAPI")
|
| 403 |
+
|
| 404 |
+
# You can add route registration here if needed
|
| 405 |
+
# Example:
|
| 406 |
+
# @app.get("/prompt-manager/status")
|
| 407 |
+
# async def status():
|
| 408 |
+
# return {"module": "prompt_manager", "status": "active"}
|
| 409 |
+
|
| 410 |
+
return {
|
| 411 |
+
"module": "prompt_manager",
|
| 412 |
+
"status": "registered",
|
| 413 |
+
"version": __version__,
|
| 414 |
+
"description": "Advanced prompt management system"
|
| 415 |
+
}
|
| 416 |
__version__ = "4.0.0"
|
| 417 |
__author__ = "AumCore AI"
|