Skip to content

Conversation

@jadenfix
Copy link
Member

Overview

This PR completes the Agents API v2 implementation with significant SDK improvements and enhancements.

Changes

SDK Improvements

  • Enhanced HTTP client with better error handling and retry logic
  • Improved configuration management with environment variable support
  • Added comprehensive exception handling
  • Updated authentication handling
  • Added version tracking module

API Updates

  • Complete agents API v2 support
  • Enhanced file handling with improved upload methods
  • Better job management and result handling
  • Improved response models with additional metadata

Documentation

  • Updated README with complete API reference
  • Added supported models list (GPT-5.2, grok)
  • Added engine classes reference
  • Improved code examples

Version Bump

  • Updated version to 0.2.1

Files Changed

  • README.md - Comprehensive documentation updates
  • src/roe/utils/http_client.py - Major HTTP client improvements
  • src/roe/models/ - Enhanced model definitions
  • src/roe/config.py - Improved configuration handling
  • src/roe/exceptions.py - New exception classes
  • src/roe/version.py - Version tracking
  • pyproject.toml - Version bump to 0.2.1

jadenfix and others added 7 commits December 13, 2025 23:40
- HTTP Client: Add retry logic with exponential backoff for network resilience
- Job Processing: Enhanced batch handling with graceful deletion support
- File Management: Add 2GB size validation and automatic file handle cleanup
- Status Management: Convert JobStatus to enum with is_terminal/is_success helpers
- Version Management: Centralized version handling with roe/version.py
- Error Handling: Improved exception handling throughout SDK
- Testing: Add conftest.py with proper test fixtures and credentials
- Examples: Minor formatting improvements and consistency updates

All changes tested with comprehensive test suite. Breaking changes: None.
Add installation instructions for roe-ai package.
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.

2 participants