Skip to content

bugfix: Avoid null reference to last_user_message in ChatHistory #1932

bugfix: Avoid null reference to last_user_message in ChatHistory

bugfix: Avoid null reference to last_user_message in ChatHistory #1932

Triggered via pull request October 7, 2023 02:19
Status Failure
Total duration 14m 55s
Artifacts

test-main.yml

on: pull_request
Matrix: Run test suite
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
test_agent_service.test_non_duplicate_messages: tests/steamship_tests/agents/test_agent_service.py#L268
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_example_with_caching_service: tests/steamship_tests/agents/test_agent_service.py#L38
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_context_logging_to_chat_history_everything: tests/steamship_tests/agents/test_agent_service.py#L179
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_async_prompt: tests/steamship_tests/agents/test_agent_service.py#L363
AssertionError: At least 2 llm prompts should have happened (first for tool selection, second for generating final answer) assert == failed. [pytest-clarity diff shown] #x1B[0m #x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below #x1B[0m #x1B[0m#x1B[32m0#x1B[0m #x1B[0m#x1B[31m2#x1B[0m #x1B[0m
test_fact_learner_tools.test_fact_learner_agent_service: tests/steamship_tests/agents/tools/test_fact_learner_tools.py#L14
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
Run test suite (Staging, 3.10)
Process completed with exit code 1.
test_agent_service.test_non_duplicate_messages: tests/steamship_tests/agents/test_agent_service.py#L268
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_example_with_caching_service: tests/steamship_tests/agents/test_agent_service.py#L38
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_context_logging_to_chat_history_everything: tests/steamship_tests/agents/test_agent_service.py#L179
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
test_agent_service.test_async_prompt: tests/steamship_tests/agents/test_agent_service.py#L363
AssertionError: At least 2 llm prompts should have happened (first for tool selection, second for generating final answer) assert == failed. [pytest-clarity diff shown] #x1B[0m #x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below #x1B[0m #x1B[0m#x1B[32m0#x1B[0m #x1B[0m#x1B[31m2#x1B[0m #x1B[0m
test_fact_learner_tools.test_fact_learner_agent_service: tests/steamship_tests/agents/tools/test_fact_learner_tools.py#L14
steamship.base.error.SteamshipError: [ERROR - POST /prompt] 'Block' object has no attribute 'strip'
Run test suite (Production, 3.10)
Process completed with exit code 1.
Run test suite (Staging, 3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run test suite (Staging, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run test suite (Production, 3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run test suite (Production, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/