Skip to content

Bug: Report Introduction/Conclusion not respecting language configuration #1100

@DAAE-Na-Yunchae

Description

@DAAE-Na-Yunchae

Describe the bug
"Introduction" and "Conclusion" sections remain in English even when LANGUAGE is set to a different language (e.g., "japanese") in the configuration.

To Reproduce
Steps to reproduce the behavior:

  1. Set LANGUAGE: "japanese" in the config
  2. Run the researcher
  3. Select "What type of report would you like me to generate?", select "Detailed - In depth and longer(~5min)"
  4. Wait for the report generation
  5. Observe that while the main content is in Japanese, the Introduction and Conclusion sections are still in English
DEFAULT_CONFIG: BaseConfig = {
    "LANGUAGE": "japanese",
    # ... other config settings
}

Expected behavior
All sections of the report, including Introduction and Conclusion, should be in the language specified in the config's LANGUAGE setting.

Screenshots

Image

Image
Image

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [macOS Sonoma 14.6 (Apple Silicon)]
  • Browser [chrome]
  • Version [v3.1.9]

Additional context
The language setting needs to be passed to the write_conclusion and write_report_introduction prompts in the report generation process. This will ensure consistent language usage throughout the entire report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions