-
Notifications
You must be signed in to change notification settings - Fork 41
Description
🐛 Bug Description
When I create a Template workflow and try to add Context with github repository which has trailing slash at the end (ex: https://github.com/eval-hub/eval-hub/) its unable to add the repository unless I remove it
Expected Behavior: What you expected to happen.
It should accept the trailing slash as well
Actual Behavior: What actually happened.
Throws error
🔄 Steps to Reproduce
- Go to Ambient Code Platform home page
- Click on 'New Workspace'
- Create New Workspace with unique name
- Then create new session choosing Sonnet claude model
- Select Template workflow
- And now in Context try adding context with any link which has trailing slash at the end ex: https://github.com/eval-hub/eval-hub/
- Throws error as
Failed to add repository
🖼️ Screenshots
If applicable, add screenshots to help explain your problem.
🌍 Environment
Component: [RAT System / Ambient Agentic Runner / vTeam Tools]
Version/Commit: [e.g. v1.2.3 or commit hash]
Operating System: [e.g. macOS 14.0, Ubuntu 22.04, Windows 11]
MacOS
Browser: [if applicable - Chrome 119, Firefox 120, Safari 17]
Python Version: [if applicable - e.g. 3.11.5]
3.13.11
Kubernetes Version: [if applicable - e.g. 1.28.2]
📋 Additional Context
Error Messages: [Paste any error messages or logs]
[Error logs here]
Configuration: [Any relevant configuration details]
Recent Changes: [Any recent changes that might be related]
🔍 Possible Solution
[If you have suggestions on how to fix the bug]
✅ Acceptance Criteria
- Bug is reproduced and root cause identified
- Fix is implemented and tested
- Regression tests added to prevent future occurrences
- Documentation updated if needed
- Fix is verified in staging environment
🏷️ Labels
- Priority: [low/medium/high/critical]
- Complexity: [trivial/easy/medium/hard]
- Component: [frontend/backend/operator/tools/docs]