Skip to content

Commit

Permalink
feat(tools): improve python PDF capabilities (#108)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pokorný <jenompokorny@gmail.com>
  • Loading branch information
JanPokorny authored Oct 24, 2024
1 parent 512fa28 commit 9e107d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tools/python/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ export class PythonTool extends Tool<PythonToolOutput, PythonToolOptions> {
"Use matplotlib to plot charts.",
"Use pillow (import PIL) to create and manipulate images.",
"Use moviepy for complex manipulations with videos.",
"Use pikepdf to manipulate PDFs.",
"Use PyPDF2, pikepdf, or fitz to manipulate PDFs.",
"Use pdf2image to convert PDF to images.",
"Other Python libraries are also available -- however, prefer using the ones above.",
"Prefer using qualified imports -- `import library; library.thing()` instead of `import thing from library`.",
"Do not attempt to install libraries manually -- it will not work.",
"Each invocation of Python runs in a completely fresh VM -- it will not remember anything from before.",
"Do not use this tool multiple times in a row, always write the full code you want to run in a single invocation.",
Expand Down

0 comments on commit 9e107d7

Please sign in to comment.