examples: Update streaming ChatGPT example for Swift 6.1 by simonjbeaumont · Pull Request #759 · apple/swift-openapi-generator (original) (raw)
Motivation
The streaming ChatGPT example we have uses Swift 6.0 and the Swift VS Code extension from the SSWG. Since then, Swift 6.1 has been released, which contains fixes for indexing and editor functionality for code generated by Swift package plugins. The VS Code plugin has also been moved to the Swift project.
Modifications
- Update the example dev container to Swift 6.1.
- Update the example dev container to use
swiftlang.swift-vscode
. - Clean up redundant workarounds in VS Code settings.
- Link to try! Swift in addition to FOSDEM for folks looking for reference sources from conference talk.
Result
Example represents what was most recently presented.
Test Plan
CI will ensure the package has not regressed.