Skip to content

Fix handling of prompts in HTTP API#1066

Open
soukouki wants to merge 1 commit intoPDFMathTranslate:mainfrom
soukouki:sou7/fix-handling-of-prompts-in-http-api
Open

Fix handling of prompts in HTTP API#1066
soukouki wants to merge 1 commit intoPDFMathTranslate:mainfrom
soukouki:sou7/fix-handling-of-prompts-in-http-api

Conversation

@soukouki
Copy link

In previous versions of the HTTP API, arguments containing prompts were simply passed through without special processing. As a result, when prompts were included in the HTTP API request, the string would be directly passed to the translate_stream function. To prevent this, I now convert any prompt values found in args into templates.

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