Skip to content

examples: Update streaming ChatGPT example for Swift 6.1 #759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

simonjbeaumont
Copy link
Collaborator

@simonjbeaumont simonjbeaumont commented Apr 9, 2025

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.

@simonjbeaumont simonjbeaumont added the semver/none No version bump required. label Apr 9, 2025
@simonjbeaumont simonjbeaumont marked this pull request as ready for review April 9, 2025 21:55
@simonjbeaumont simonjbeaumont force-pushed the update-streaming-proxy-example branch from 27d01a6 to df30d35 Compare April 9, 2025 22:22
@simonjbeaumont simonjbeaumont enabled auto-merge (squash) April 9, 2025 22:23
@simonjbeaumont simonjbeaumont merged commit 1e75aee into apple:main Apr 9, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants