Commit 1e75aee
authored
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.1 parent 9218c26 commit 1e75aee
File tree
3 files changed
+8
-17
lines changed- Examples/streaming-chatgpt-proxy
- .devcontainer
- .vscode
3 files changed
+8
-17
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
17 | | - | |
18 | | - | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | | - | |
24 | | - | |
25 | 18 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 19 | | |
31 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
73 | 75 | | |
0 commit comments