You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
examples: Update streaming ChatGPT example for Swift 6.1 (#759)
### 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.
Copy file name to clipboardExpand all lines: Examples/streaming-chatgpt-proxy/README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,10 @@ An example project using [Swift OpenAPI Generator](https://github.com/apple/swif
9
9
A tailored API server, backed by ChatGPT, and client CLI, with end-to-end
10
10
streaming.
11
11
12
-
This package is the reference sources for the demo presented at [FOSDEM 2025:
13
-
_Live coding a streaming ChatGPT proxy with Swift OpenAPI—from
14
-
scratch!_][fosdem25-swift-openapi]
12
+
This package is the reference sources for the talk, _Live coding a streaming ChatGPT proxy with Swift OpenAPI—from scratch!, presented at:
13
+
14
+
-[FOSDEM 2025][fosdem25-swift-openapi]
15
+
-[try! Swift 2025][tryswift25]
15
16
16
17
> Join us as we build a ChatGPT client, from scratch, using Swift OpenAPI Generator. We’ll take advantage of Swift OpenAPI’s pluggable HTTP transports to reuse the same generated client to make upstream calls from a Linux server, providing end-to-end streaming, backed by async sequences, without buffering upstream responses.
0 commit comments