Skip to content

Commit 0efa273

Browse files
committed
fix(prompts): handle httpx encoding for prompt name in updates
1 parent ccb41c0 commit 0efa273

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langfuse/_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3744,7 +3744,7 @@ def update_prompt(
37443744
37453745
"""
37463746
updated_prompt = self.api.prompt_version.update(
3747-
name=self._url_encode(name),
3747+
name=self._url_encode(name, is_url_param=True),
37483748
version=version,
37493749
new_labels=new_labels,
37503750
)

0 commit comments

Comments
 (0)