Skip to content

Conversation

@jamesrochabrun
Copy link
Owner

Summary

  • Added support for GPT-5 family of models (gpt-5, gpt-5-mini, gpt-5-nano)
  • Added verbosity parameter to TextConfiguration for controlling response detail level
  • Updated documentation with new features and examples

Changes

  • Model.swift: Added GPT-5, GPT-5-mini, and GPT-5-nano model cases with descriptions
  • TextConfiguration.swift: Added optional verbosity parameter for response control
  • ChatCompletionParameters.swift: Added Verbosity enum with high/medium/low/minimal options
  • README.md:
    • Documented new GPT-5 models with use cases
    • Added ModelResponseParameter examples
    • Added verbosity parameter usage examples
  • .gitignore: Added rules to exclude Xcode's auto-generated swiftpm directories
  • Applied SwiftFormat linting to all modified files

Test Plan

  • Code compiles successfully with swift build
  • All existing deprecation warnings are unrelated to new changes
  • SwiftFormat linting applied and passed

🤖 Generated with Claude Code

- Add GPT-5, GPT-5-mini, and GPT-5-nano models to Model enum
- Add verbosity parameter to TextConfiguration for controlling response detail
- Add Verbosity enum to ChatCompletionParameters (high, medium, low, minimal)
- Update README with GPT-5 models documentation and Response API examples
- Add swiftpm directories to .gitignore to exclude auto-generated Xcode files
- Apply SwiftFormat linting to ensure code consistency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jamesrochabrun jamesrochabrun merged commit e303587 into main Aug 10, 2025
3 checks passed
@jamesrochabrun jamesrochabrun deleted the jroch-gpt-5 branch August 10, 2025 05:51
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.

1 participant