
Version 0.9
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 undertests/testthat/fixtures/. - Restored prompts/utils tests; suite now runs offline (except ImageMagick data URI skip) using recorded fixtures.
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.Rmdtoartopenai.qmdfor Quarto-native format consistency with other Artalytics packages
artopenai 0.9.3
Reliability
- Added
ART_OPENAI_MAX_OUTPUT_TOKENS(default:4096) to control the defaultmax_output_tokenssent 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.