Skip to content

examples: Update streaming ChatGPT example for Swift 6.1#759

Merged
simonjbeaumont merged 2 commits intoapple:mainfrom
simonjbeaumont:update-streaming-proxy-example
Apr 9, 2025
Merged

examples: Update streaming ChatGPT example for Swift 6.1#759
simonjbeaumont merged 2 commits intoapple:mainfrom
simonjbeaumont:update-streaming-proxy-example

Conversation

@simonjbeaumont
Copy link
Copy Markdown
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