-
Notifications
You must be signed in to change notification settings - Fork 2
fix: Use timezone.utc instead of UTC #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
| cl.user_session.set("project_id", project_id) | ||
|
|
||
| # get lang_code from the copilot and store it in the session | ||
| lang_code = await self.call_copilot("getLangCode", default="en") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this returned a None object at the start of chat or something like that, so that lang_code was None
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
| if store.has_history(user.identifier, project_id): | ||
| content = getattr(config, f"CONTINUATION_{lang_code.upper()}", "") | ||
| await cl.Message(content=content).send() | ||
| history = store.get_history(user.identifier, project_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added here the chat history to the messages below this continuation message. Added it as a feature here but would make sense right?
| subject: subjectInput.value, | ||
| message: messageInput.value | ||
| } | ||
| $(submitButton).off('click').on('click', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the submit button for send email was hanging(didn't do anything) for me at some point.
I got an error
cannot import name 'UTC' from 'datetimewith py310