theRealNG commited on
Commit
dba2d83
·
1 Parent(s): 0cc3bf5

endpoints(til): Fix minor issue on how we are joining the tils

Browse files
Files changed (1) hide show
  1. endpoints.py +2 -2
endpoints.py CHANGED
@@ -39,8 +39,8 @@ app.add_middleware(
39
 
40
  @app.post("/til_feedback", tags=["til_feedback"])
41
  async def til_feedback_kickoff(content: List[str]) -> TilFeedbackResponse:
42
- separator = "\n* "
43
- content[0] = "* " + content[0]
44
  inputs = {"content": separator.join(content)}
45
  result = TilCrew().kickoff(inputs)
46
  return result
 
39
 
40
  @app.post("/til_feedback", tags=["til_feedback"])
41
  async def til_feedback_kickoff(content: List[str]) -> TilFeedbackResponse:
42
+ separator = "\n "
43
+ content[0] = " " + content[0]
44
  inputs = {"content": separator.join(content)}
45
  result = TilCrew().kickoff(inputs)
46
  return result