Skip to content

Commit

Permalink
Add logging for /server_info endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 22, 2024
1 parent bb8b4a0 commit 38c364a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openhands/runtime/action_execution_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ async def authenticate_requests(request: Request, call_next):

@app.get('/server_info')
async def get_server_info():
logger.info('Server info endpoint called')
assert client is not None
current_time = time.time()
uptime = current_time - client.start_time
Expand Down

0 comments on commit 38c364a

Please sign in to comment.