Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanehachcham committed Oct 21, 2023
1 parent b7019cf commit 040caac
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion mentor_mingle/llm_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def stream_chat(self, user_prompt: str) -> Generator[str, None, None]:
**self.model.config.model_dump(),
)
for chunk in completion:
print(chunk)
content = chunk.choices[0].delta.get("content", "")
if content != "":
yield content
31 changes: 29 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
aiohttp = "3.8.6"
aiosignal = "1.3.1"
async-timeout = "4.0.3"
Expand Down

0 comments on commit 040caac

Please sign in to comment.