Skip to content

Fix prompt template names with slashes#324

Open
brunojmr08-max wants to merge 2 commits into
MagnivOrg:masterfrom
brunojmr08-max:codex/quote-prompt-template-slashes
Open

Fix prompt template names with slashes#324
brunojmr08-max wants to merge 2 commits into
MagnivOrg:masterfrom
brunojmr08-max:codex/quote-prompt-template-slashes

Conversation

@brunojmr08-max
Copy link
Copy Markdown

@brunojmr08-max brunojmr08-max commented May 29, 2026

Closes #254.

Summary

  • double-encode slashes in prompt template path segments so they survive an edge/router decode
  • keep other special characters encoded once
  • cover sync and async template fetches

Tests

$env:PYTHONPATH=(Get-Location).Path
& '..\prompt-layer-library-master\.venv\Scripts\python.exe' -m pytest tests\test_get_prompt_template.py -q
& '..\prompt-layer-library-master\.venv\Scripts\python.exe' -m pytest tests\test_get_prompt_template.py tests\test_agents\test_arun_workflow_request.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