Skip to content

Conversation

@cmgzn
Copy link

@cmgzn cmgzn commented Jul 7, 2025


name: Fix multisource_rag_app
about: Bug fixes for model config assignment, async resource handling, and logging in multisource_rag_app

Description

  • Change response.stream.aclose() to response.aclose() in summarizer.py to properly close async responses.
  • Update model configuration from async_qwen_config to qwen_config for DialogAgent types in agent_config_dict.json to fix incorrect async model assignment, since DialogAgent does not support async models.
  • Ensure database directory exists before creating the logging table in db_logging.py.
  • Fix recursive call bug in logging.py by changing the warning method to call logger.error instead of itself.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

- Change response.stream.aclose() to response.aclose() in summarizer.py to properly close async responses.
- Update model configuration from async_qwen_config to qwen_config for DialogAgent types in agent_config_dict.json to fix incorrect async model assignment.
- Ensure database directory exists before creating the logging table in db_logging.py.
- Fix recursive call bug in logging.py by changing the warning method to call logger.error instead of itself.
@DavdGao DavdGao requested review from FredericW and ZiTao-Li July 7, 2025 04:11
Copy link
Collaborator

@FredericW FredericW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DavdGao DavdGao merged commit 33d33ed into agentscope-ai:main Aug 13, 2025
13 checks passed
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.

3 participants