Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -55,7 +55,7 @@ class EndpointHandler:
55
  logger.info("Processing new request")
56
  logger.info(f"Input data: {data}")
57
 
58
- messages = data.get("messages", [])
59
  if not messages:
60
  logger.warning("No input messages provided")
61
  return [{"role": "assistant", "content": "No input messages provided"}]
 
55
  logger.info("Processing new request")
56
  logger.info(f"Input data: {data}")
57
 
58
+ messages = data.get("inputs", [])
59
  if not messages:
60
  logger.warning("No input messages provided")
61
  return [{"role": "assistant", "content": "No input messages provided"}]