Skip to content

fix: URL-encode workflow names#319

Open
johntailor125 wants to merge 1 commit into
MagnivOrg:masterfrom
johntailor125:fix/workflow-name-url-encoding
Open

fix: URL-encode workflow names#319
johntailor125 wants to merge 1 commit into
MagnivOrg:masterfrom
johntailor125:fix/workflow-name-url-encoding

Conversation

@johntailor125
Copy link
Copy Markdown

Closes #254

Summary

  • URL-encode workflow names before interpolating them into the /workflows/{name} path segment.
  • Add a regression test covering slash and special-character workflow names.

Tests

  • /tmp/promptlayer-venv/bin/python -m pytest tests/test_agents/test_arun_workflow_request.py -q
  • /tmp/promptlayer-venv/bin/python -m pytest tests/test_get_prompt_template.py -q

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.

Client fails to fetch prompts with names containing slash

1 participant