Skip to content

Commit

Permalink
update readme and fix ui bug (microsoft#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilinHe authored Jan 15, 2024
2 parents fa75e47 + 3d79f4f commit 5dddffd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ TaskWeaver is A **code-first** agent framework for seamlessly planning and execu


## 🆕 News
- 📅2024-01-01: Happy New Year 🎆 with TaskWeaver [Discord](https://discord.gg/Z56MXmZgMb).
- 📅2024-01-15: TaskWeaver now supports Streaming♒ in both UI and command line.✌️
- 📅2024-01-01: Welcome join TaskWeaver [Discord](https://discord.gg/Z56MXmZgMb).
- 📅2023-12-21: TaskWeaver now supports a number of LLMs, such as LiteLLM, Ollama, Gemini, and QWen🎈.
- 📅2023-12-21: TaskWeaver Website is now [available](https://microsoft.github.io/TaskWeaver/) with more documentations.
- 📅2023-12-12: A simple UI demo is available in playground/UI folder, try it [here](https://microsoft.github.io/TaskWeaver/docs/usage/webui)!
<!-- - 📅2023-12-12: A simple UI demo is available in playground/UI folder, try it [here](https://microsoft.github.io/TaskWeaver/docs/usage/webui)! -->
<!-- - [2023-11-30] TaskWeaver is released on GitHub🎈. -->


Expand Down
5 changes: 3 additions & 2 deletions playground/UI/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

import requests

# change current directory to the directory of this file for loading resources
os.chdir(os.path.dirname(__file__))

try:
import chainlit as cl

Expand Down Expand Up @@ -397,6 +400,4 @@ async def main(message: cl.Message):
if __name__ == "__main__":
from chainlit.cli import run_chainlit

# change current directory to the directory of this file for loading resources
os.path.curdir = os.path.dirname(__file__)
run_chainlit(__file__)

0 comments on commit 5dddffd

Please sign in to comment.