agenta icon indicating copy to clipboard operation
agenta copied to clipboard

Enhancement - Improve playground error message

Open aybruhm opened this issue 1 year ago • 2 comments

Description

This PR improves the error messages in the playground for different feature flags.

Related Issue

Closes #885

Related PR

Closes #197_cloud

aybruhm avatar Mar 05 '24 08:03 aybruhm

@aybruhm 1 check is failing

aakrem avatar Mar 05 '24 10:03 aakrem

  1. Not working
Screenshot 2024-03-26 at 17 00 31 2. Same comment from the older PR [Enhancement - Improve playground error message and introduce new CLI command for cloudwatch logs #984 (comment)](https://github.com/Agenta-AI/agenta/pull/984#issuecomment-1853885329)

Oh, I see. The issue is with the cli backend client. The last time the backend client was generated, we had the client logic located in agenta-cli/agenta/client/client.py. Now we have it in agenta-cli/agenta/client/backend/client.py, which also has the following structure based on the API tags:.

image

I'll regenerate the cli backend client later today and update the PR. Thanks for catching that.

aybruhm avatar Mar 26 '24 16:03 aybruhm

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2024 0:44am

vercel[bot] avatar May 05 '24 12:05 vercel[bot]

I removed the cli command to retrieve the variant logs. I believe that the viewing experience for the logs is much better directly on the playground than on the cli. Here's what it looks like on the playground:

image

cc: @mmabrouk, @aakrem

aybruhm avatar May 05 '24 12:05 aybruhm

PR became redundant due to the misleading commit messages. You can find the new PR here: https://github.com/Agenta-AI/agenta/pull/1611

aybruhm avatar May 05 '24 14:05 aybruhm