Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aarushik93 committed Jun 11, 2024
1 parent f17a19b commit 56f16bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion frontend/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ async def handle_interview(codex_client, interview_response, user_message):
future_time = datetime.now(timezone.utc) + timedelta(minutes=15)
future_timestamp = int(future_time.timestamp())
st.session_state.messages.append(
f"{interview_response.say_to_user}. Expected completion time: {future_timestamp}")
f"{interview_response.say_to_user}. Expected completion time: {future_timestamp}"
)
st.session_state.progress = 2
elif interview_response.phase == "FEATURES":
st.session_state.messages.append(interview_response.say_to_user)
Expand Down
9 changes: 6 additions & 3 deletions frontend/codex_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ async def init(
"""
async with aiohttp.ClientSession() as session:
async with session.post(
'http://localhost:8080/api/v1/user',
params={'cloud_services_id': CLOUD_SERVICES_ID, 'discord_id': DISCORD_ID},
headers={'accept': 'application/json'}
"http://localhost:8080/api/v1/user",
params={
"cloud_services_id": CLOUD_SERVICES_ID,
"discord_id": DISCORD_ID,
},
headers={"accept": "application/json"},
) as response:
if response.status == 200:
data = await response.json()
Expand Down

0 comments on commit 56f16bb

Please sign in to comment.