Closed xingwanying closed 1 week ago
This pull request introduces changes to enhance the bot building process by incorporating language support. It modifies several components to pass language information when fetching bot details and adjusts the bot creation prompts to be language-aware. Additionally, it fixes a script path in the package.json to ensure proper execution.
Files | Summary |
---|---|
client/app/factory/edit/page.tsx | Added language context to fetch bot info with language parameter. |
client/app/services/BotsController.ts | Refactored function to accept parameters object including language. |
package.json | Corrected script path for environment pulling. |
server/agent/prompts/bot_builder.py | Added language-based dynamic prompt generation. |
server/agent/tools/bot_builder.py | Fixed documentation formatting. |
server/bot/router.py | Changed language handling to use bot data language. |
server/core/type_class/bot.py | Added language field to bot configuration. |
Attention: Patch coverage is 0%
with 1 line
in your changes missing coverage. Please review.
Files with missing lines | Patch % | Lines |
---|---|---|
server/bot/router.py | 0.00% | 1 Missing :warning: |
Files with missing lines | Coverage Δ | |
---|---|---|
server/agent/prompts/bot_builder.py | 57.14% <ø> (ø) |
|
server/agent/tools/bot_builder.py | 42.30% <ø> (ø) |
|
server/core/type_class/bot.py | 100.00% <ø> (ø) |
|
server/bot/router.py | 19.68% <0.00%> (-0.43%) |
:arrow_down: |
The latest updates on your projects. Learn more about Vercel for Git ↗︎