Skip to content

Commit

Permalink
small updates to conftest and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
eavanvalkenburg committed Nov 28, 2024
1 parent 08941f0 commit e376d83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
if: always()
uses: pmeier/pytest-results-action@main
with:
path: python/pytest-*.xml
path: python/pytest-completions.xml
summary: true
display-options: fEX
fail-on-empty: true
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
if: always()
uses: pmeier/pytest-results-action@main
with:
path: python/pytest-*.xml
path: python/pytest-memory.xml
summary: true
display-options: fEX
fail-on-empty: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def chat() -> bool:
# Since the user_input is rendered by the template, it is not yet part of the chat history, so we add it here.
chat_history.add_user_message(user_input)
# Add the chat message to the chat history to keep track of the conversation.
chat_history.add_message(answer.value)
chat_history.add_message(answer.value[0])

return True

Expand Down
1 change: 1 addition & 0 deletions python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def pytest_configure(config):
logging.getLogger("openai").setLevel(logging.WARNING)
logging.getLogger("httpx").setLevel(logging.WARNING)
logging.getLogger("httpcore").setLevel(logging.WARNING)
logging.getLogger("semantic_kernel").setLevel(logging.INFO)


@fixture(scope="function")
Expand Down

0 comments on commit e376d83

Please sign in to comment.