You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a bot is created and shared with another user, the recipient is redirected to the chat screen but cannot access the shared bot. Instead, a validation error related to BotAliasModelactive_models occurs, preventing proper access.
🔄 To Reproduce
Steps to reproduce the behavior:
Create a new bot using the standard process.
Enable the bot-sharing feature.
Share the generated link with another user.
As the second user, click the shared link.
Observe the console for errors, specifically:
GET https://xxxxxxx.execute-api.us-east-1.amazonaws.com/bot/summary/01JFB0BNR4Z9HG7WQXXXXXXXX
[HTTP/1.1 422 Unprocessable Entity 1163ms]
Expand the error details, which show:
1 validation error for BotAliasModelactive_models
Input should be a valid dictionary or instance of ActiveModelsModel
[type=model_type, input_value=ActiveModelsOutput(claude... amazon_nova_micro=True), input_type=ActiveModelsOutput]
For further information visit https://errors.pydantic.dev/2.10/v/model_type
🐞Describe the bug
When a bot is created and shared with another user, the recipient is redirected to the chat screen but cannot access the shared bot. Instead, a validation error related to
BotAliasModelactive_models
occurs, preventing proper access.🔄 To Reproduce
Steps to reproduce the behavior:
📷 Screenshots
N/A
📝 Additional context
INFO:app.repositories.custom_bot - Finding bots for user: b4d8c448-a041-70b5-49ef-XXXXXXX (The user who owns the bots)
INFO:app.repositories.custom_bot - Found all private bots: [BotMeta(id='01JH3J6AED68NZ28W3EP40VT9A', title='BOT 1', description='', create_time=1736360381410.0, last_used_time=1736360381410.0, is_pinned=False, is_public=False, owned=True, available=True, sync_status='FAILED', has_bedrock_knowledge_base=True), BotMeta(id='01JFB0BNR4Z9HG7WQVVY0B2HRC', title='BOT 2', description='', create_time=1734463072031.0, last_used_time=1734623879442.0, is_pinned=False, is_public=True, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True), BotMeta(id='01JE92WKWZSFHSF1KGMQ94BTKK', title='IFRS Knowledgebase', description='', create_time=1733324601285.0, last_used_time=1734558457621.0, is_pinned=False, is_public=True, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True), BotMeta(id='01JEV5YBCW6G7ATCCCJS66270Y', title='BOT NAME', description='', create_time=1733931617269.0, last_used_time=1733931617269.0, is_pinned=False, is_public=True, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True), BotMeta(id='01JEP3209C6J1299S9X566VE28', title='TITLE', description='BOT 3', create_time=1733760781159.0, last_used_time=1733861262387.0, is_pinned=False, is_public=False, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True), BotMeta(id='01JE9G6CMAWGBAPFMT2BJZG3KA', title='BOT 4', description='', create_time=1733338331080.0, last_used_time=1733778130241.0, is_pinned=False, is_public=False, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True), BotMeta(id='01JE6G6M8TWJY31ABPDZDGJ06Q', title='BOT 5', description='', create_time=1733237703820.0, last_used_time=1733776189133.0, is_pinned=False, is_public=True, owned=True, available=True, sync_status='SUCCEEDED', has_bedrock_knowledge_base=True)]
The text was updated successfully, but these errors were encountered: