Skip to content
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

Display a loading animation #2

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Display a loading animation #2

merged 1 commit into from
Oct 26, 2024

Conversation

willismax
Copy link
Owner

@willismax willismax commented Oct 26, 2024

Fixes #1

Add functionality to display a loading animation in the LINE user interface.

  • Add a new function start_loading_animation in api/index.py to send the curl command to the LINE API.
  • Modify the handle_message function in api/index.py to call start_loading_animation before processing the message.
  • Update the README.md file to include information about the loading animation feature and provide example curl commands in both English and Traditional Chinese.

For more details, open the Copilot Workspace session.

Fixes #1

Add functionality to display a loading animation in the LINE user interface.

* Add a new function `start_loading_animation` in `api/index.py` to send the curl command to the LINE API.
* Modify the `handle_message` function in `api/index.py` to call `start_loading_animation` before processing the message.
* Update the `README.md` file to include information about the loading animation feature and provide example curl commands in both English and Traditional Chinese.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/willismax/LLM-LINEBot-use-python-on-vercel/issues/1?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

vercel bot commented Oct 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
2024-computer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 2:45am
2024-pygpt-course ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 2:45am
llm-line-bot-use-python-on-vercel-gy7f ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 2:45am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display a loading animation #4
1 participant