Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DAAE-Na-Yunchae opened this issue Feb 4, 2025 · 0 comments

Comments

@DAAE-Na-Yunchae
Copy link
Contributor

DAAE-Na-Yunchae commented Feb 4, 2025

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.

assafelovic added a commit that referenced this issue Feb 4, 2025
…ro-conclusion

fix(#1100): apply language config to Introduction and Conclusion sections
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

No branches or pull requests

1 participant