Spaces:
Sleeping
Sleeping
mriusero
commited on
Commit
·
d0bfb55
1
Parent(s):
40a900a
fix: tool desc
Browse files
src/agent/tools/check_downtines.py
CHANGED
@@ -4,7 +4,8 @@ from src.agent.utils.tooling import tool
|
|
4 |
@tool
|
5 |
def get_downtimes() -> str:
|
6 |
"""
|
7 |
-
This tool
|
|
|
8 |
- Timestamps of downtimes starts and endings,
|
9 |
- Event, Error Code and Error Description
|
10 |
"""
|
|
|
4 |
@tool
|
5 |
def get_downtimes() -> str:
|
6 |
"""
|
7 |
+
This tool provide the production downtimes which is useful for understanding production issues and causes.
|
8 |
+
Data contains :
|
9 |
- Timestamps of downtimes starts and endings,
|
10 |
- Event, Error Code and Error Description
|
11 |
"""
|
src/agent/tools/check_production.py
CHANGED
@@ -5,6 +5,7 @@ from src.agent.utils.tooling import tool
|
|
5 |
def get_production_status() -> str:
|
6 |
"""
|
7 |
This tool retrieves the current production status including various metrics such as operating time, unplanned stops, quality rates, availability, and performance indicators.
|
|
|
8 |
"""
|
9 |
try:
|
10 |
with open("data/status.json", "r") as f:
|
|
|
5 |
def get_production_status() -> str:
|
6 |
"""
|
7 |
This tool retrieves the current production status including various metrics such as operating time, unplanned stops, quality rates, availability, and performance indicators.
|
8 |
+
Useful for understanding the overall production health and efficiency.
|
9 |
"""
|
10 |
try:
|
11 |
with open("data/status.json", "r") as f:
|