Skip to content

feat: inject platform base_url into agent system prompt and webhook URLs#335

Open
nap-liu wants to merge 1 commit intodataelement:mainfrom
nap-liu:pr/agent-prompt-base-url
Open

feat: inject platform base_url into agent system prompt and webhook URLs#335
nap-liu wants to merge 1 commit intodataelement:mainfrom
nap-liu:pr/agent-prompt-base-url

Conversation

@nap-liu
Copy link
Copy Markdown

@nap-liu nap-liu commented Apr 8, 2026

Summary

  • Agent system prompt now includes platform URL patterns (webhook, public page, file download, gateway)
  • list_triggers returns full webhook URLs instead of relative paths
  • Uses existing platform_service.get_public_base_url()

Test plan

  • E2E: asked Morty for platform URL → correctly returned all 5 URL patterns

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant