Skip to contents

artopenai 0.9.1

Testing & Tooling

  • Added httptest2-based fixtures for all OpenAI calls (continue, tools, style, full profile, health check) so tests replay offline. See tests/testthat/test-openai-continue.R, test-openai-tools.R, test-artwork-ai.R, test-artwork-plus-ai.R, test-health-check.R, and fixture dirs under tests/testthat/fixtures/.
  • Restored prompts/utils tests; suite now runs offline (except ImageMagick data URI skip) using recorded fixtures.

Maintenance

artopenai 0.9.2

Documentation Quality Improvements

  • @param Documentation: Enhanced all exported function parameters to meet quality gate:

    • Added Type + Format + Source + Purpose for all parameters
    • Updated openai-api.R: internal API functions with comprehensive parameter docs
    • Updated artwork-ai.R: art_about_ai(), art_style_ai() with full context
  • @description WHY: All function descriptions now explain WHY/WHEN to use each function, not just WHAT it does

  • README Enhancements:

    • Added package description paragraph
    • Added “Quick Example” section with realistic code snippets
    • Added “Package Hierarchy” section showing ecosystem position
    • Added “Documentation” section with links to docs.artalytics.dev
    • Added “Development” section with AGENTS.md reference
  • Vignette Conversion: Converted artopenai.Rmd to artopenai.qmd for Quarto-native format consistency with other Artalytics packages


artopenai 0.9.3

Reliability

  • Added ART_OPENAI_MAX_OUTPUT_TOKENS (default: 4096) to control the default max_output_tokens sent to the OpenAI Responses API.
  • Improved error handling for truncated Responses API outputs (status = "incomplete", incomplete_details.reason = "max_output_tokens") with a clear, actionable message.

artopenai 0.9.4

Documentation

  • Clarified README as the source of truth for ART_OPENAI_* environment variables and added examples including ART_OPENAI_MAX_OUTPUT_TOKENS.
  • Updated vignettes to reference ART_OPENAI_MAX_OUTPUT_TOKENS for long/structured outputs.