Skip to content

v1.2.4 - Letterhead from sample

Latest

Choose a tag to compare

@ianustec ianustec released this 17 Aug 16:03

What's new

  • Letterhead lookup: chat Files API first, then /mnt/uploads if the file id cannot be read
  • Accepts .docx and .dotx
  • Injects missing Word styles (Heading 1-4) so Italian templates do not drop titles
  • Keeps header, footer, watermark, top spacing and the address block from the sample
  • Reuses body and heading fonts from the sample (e.g. Garamond / Baskerville)
  • Tool description tells the model to call generate_document, not execute_code

Notes

  • Set letterhead: "Filename.docx" in the frontmatter
  • Do not set a programmatic cover together with a letterhead
  • Paste generate_documents.py into Workspace → Tools to update an existing install