@lobehub/chat 1.82.7 → 1.82.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/changelog/v1.json +21 -0
  3. package/locales/ar/models.json +18 -3
  4. package/locales/ar/oauth.json +16 -0
  5. package/locales/bg-BG/models.json +18 -3
  6. package/locales/bg-BG/oauth.json +16 -0
  7. package/locales/de-DE/models.json +18 -3
  8. package/locales/de-DE/oauth.json +16 -0
  9. package/locales/en-US/models.json +18 -3
  10. package/locales/en-US/oauth.json +16 -0
  11. package/locales/es-ES/models.json +18 -3
  12. package/locales/es-ES/oauth.json +16 -0
  13. package/locales/fa-IR/models.json +18 -3
  14. package/locales/fa-IR/oauth.json +16 -0
  15. package/locales/fr-FR/models.json +18 -3
  16. package/locales/fr-FR/oauth.json +16 -0
  17. package/locales/it-IT/models.json +18 -3
  18. package/locales/it-IT/oauth.json +16 -0
  19. package/locales/ja-JP/models.json +18 -3
  20. package/locales/ja-JP/oauth.json +16 -0
  21. package/locales/ko-KR/models.json +18 -3
  22. package/locales/ko-KR/oauth.json +16 -0
  23. package/locales/nl-NL/models.json +18 -3
  24. package/locales/nl-NL/oauth.json +16 -0
  25. package/locales/pl-PL/models.json +18 -3
  26. package/locales/pl-PL/oauth.json +16 -0
  27. package/locales/pt-BR/models.json +18 -3
  28. package/locales/pt-BR/oauth.json +16 -0
  29. package/locales/ru-RU/models.json +18 -3
  30. package/locales/ru-RU/oauth.json +16 -0
  31. package/locales/tr-TR/models.json +18 -3
  32. package/locales/tr-TR/oauth.json +16 -0
  33. package/locales/vi-VN/models.json +18 -3
  34. package/locales/vi-VN/oauth.json +16 -0
  35. package/locales/zh-CN/models.json +19 -4
  36. package/locales/zh-CN/oauth.json +16 -0
  37. package/locales/zh-TW/models.json +18 -3
  38. package/locales/zh-TW/oauth.json +16 -0
  39. package/package.json +1 -1
  40. package/src/app/(backend)/oidc/consent/route.ts +12 -0
  41. package/src/app/[variants]/oauth/consent/[uid]/{Client.tsx → Consent.tsx} +6 -40
  42. package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +130 -0
  43. package/src/app/[variants]/oauth/consent/[uid]/components/OAuthApplicationLogo.tsx +82 -0
  44. package/src/app/[variants]/oauth/consent/[uid]/page.tsx +12 -7
  45. package/src/app/[variants]/oauth/handoff/Client.tsx +98 -0
  46. package/src/app/[variants]/oauth/handoff/page.tsx +13 -0
  47. package/src/libs/oidc-provider/config.ts +11 -3
  48. package/src/libs/oidc-provider/http-adapter.ts +9 -3
  49. package/src/locales/default/oauth.ts +16 -0
  50. package/src/middleware.ts +1 -0
  51. package/src/tools/web-browsing/index.ts +0 -5
  52. package/src/tools/web-browsing/systemRole.ts +11 -42
@@ -27,12 +27,8 @@ Choose search categories based on query type:
27
27
  - General: general
28
28
  - News: news
29
29
  - Academic & Science: science
30
- - Technical: it
31
30
  - Images: images
32
31
  - Videos: videos
33
- - Geographic & Maps: map
34
- - Files: files
35
- - Social Media: social_media
36
32
  </search_categories_selection>
37
33
 
38
34
  <search_engine_selection>
@@ -60,33 +56,6 @@ Choose time range based on the query type:
60
56
  - Leverage cross-platform meta-search capabilities for comprehensive results, but prioritize fetching results from a few highly relevant and authoritative sources rather than exhaustively querying many engines/categories. Aim for quality over quantity.
61
57
  - Prioritize authoritative sources in search results when available.
62
58
  - Avoid using overly broad category/engine combinations unless necessary.
63
-
64
- <search_strategy_best_practices>
65
- - Combine categories for multi-faceted queries:
66
- * "AI ethics whitepaper PDF" → files + science + general
67
- * "Python machine learning tutorial video" → videos + it + science
68
- * "Sustainable energy policy analysis" → news + science + general
69
-
70
- - Apply keyword-driven category mapping:
71
- * "GitHub repository statistics" → it + files
72
- * "Climate change documentary" → videos + science
73
- * "Restaurant recommendations Paris" → map + social_media
74
-
75
- - Use file-type targeting for document searches:
76
- * "Financial statement xls" → files + news
77
- * "Research paper citation RIS" → files + science
78
- * "Government policy brief docx" → files + general
79
-
80
- - Region-specific query handling:
81
- * "Beijing traffic update" → map + news (consider engine: baidu)
82
- * "Moscow event listings" → social_media + news (consider engine: yandex)
83
- * "Tokyo restaurant reviews" → social_media + map (consider engine: google)
84
-
85
- - Leverage cross-platform capabilities:
86
- * "Open-source project documentation" → files + it (engines: github + pypi)
87
- * "Historical weather patterns" → science + general (engines: google_scholar + wikipedia)
88
- * "Movie release dates 2025" → news + videos (engines: imdb + reddit)
89
- </search_strategy_best_practices>
90
59
  </search_strategy_guidelines>
91
60
 
92
61
  <citation_requirements>
@@ -95,19 +64,19 @@ Choose time range based on the query type:
95
64
  - Clearly distinguish between quoted information and your own analysis
96
65
  - Respond in the same language as the user's query
97
66
 
98
- <citation_examples>
99
- <example>
100
- According to recent studies, global temperatures have risen by 1.1°C since pre-industrial times[^1].
67
+ <citation_examples>
68
+ <example>
69
+ According to recent studies, global temperatures have risen by 1.1°C since pre-industrial times[^1].
101
70
 
102
- [^1]: [Climate Report in 2023](https://example.org/climate-report-2023)
103
- </example>
104
- <example>
105
- 以上信息主要基于业内测评和公开发布会(例如2025年4月16日的发布内容)的报道,详细介绍了 O3 与 O4-mini 模型在多模态推理、工具使用、模拟推理和成本效益等方面的综合提升。[^1][^2]
71
+ [^1]: [Climate Report in 2023](https://example.org/climate-report-2023)
72
+ </example>
73
+ <example>
74
+ 以上信息主要基于业内测评和公开发布会(例如2025年4月16日的发布内容)的报道,详细介绍了 O3 与 O4-mini 模型在多模态推理、工具使用、模拟推理和成本效益等方面的综合提升。[^1][^2]
106
75
 
107
- [^1]: [OpenAI发布o3与o4-mini,性能爆表,可用图像思考](https://zhuanlan.zhihu.com/p/1896105931709849860)
108
- [^2]: [OpenAI发新模型o3和o4-mini!首次实现"图像思维"(华尔街见闻)](https://wallstreetcn.com/articles/3745356)
109
- </example>
110
- </citation_examples>
76
+ [^1]: [OpenAI发布o3与o4-mini,性能爆表,可用图像思考](https://zhuanlan.zhihu.com/p/1896105931709849860)
77
+ [^2]: [OpenAI发新模型o3和o4-mini!首次实现"图像思维"(华尔街见闻)](https://wallstreetcn.com/articles/3745356)
78
+ </example>
79
+ </citation_examples>
111
80
  </citation_requirements>
112
81
 
113
82
  <response_format>