Skip to content

Commit ddc4a3e

Browse files
minor updates
1 parent 89a0a6f commit ddc4a3e

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

Playground/YapRun/YapRun/Features/Playground/PlaygroundViewModel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ final class PlaygroundViewModel {
7070
transcription = ""
7171

7272
do {
73+
// AudioCaptureManager dispatches this callback on DispatchQueue.main
7374
try audioCapture.startRecording { [weak self] data in
7475
MainActor.assumeIsolated {
7576
guard let self else { return }

Playground/YapRun/YapRun/Features/VoiceKeyboard/FlowSessionManager.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ final class FlowSessionManager: ObservableObject {
158158

159159
// Start AVAudioEngine while foregrounded
160160
do {
161+
// AudioCaptureManager dispatches this callback on DispatchQueue.main
161162
try audioCapture.startRecording { [weak self] data in
162163
MainActor.assumeIsolated {
163164
guard let self else { return }

Playground/YapRun/YapRun/YapRunApp.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,9 @@ struct YapRunApp: App {
106106
showFlowActivation = true
107107
Task { await flowSession.handleStartFlow() }
108108
case "kill":
109-
logger.info("Received kill deep link — killing session and terminating")
109+
logger.info("Received kill deep link — killing session")
110110
Task {
111111
await flowSession.killSession()
112-
exit(0)
113112
}
114113
case "playground":
115114
logger.info("Received playground deep link")

Playground/YapRun/YapRun/macOS/Services/MacDictationService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ final class MacDictationService {
165165
elapsedSeconds = 0
166166

167167
do {
168+
// AudioCaptureManager dispatches this callback on DispatchQueue.main
168169
try audioCapture.startRecording { [weak self] data in
169170
MainActor.assumeIsolated {
170171
guard let self else { return }

sdk/runanywhere-swift/Sources/RunAnywhere/CRACommons/include/rac_model_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ typedef struct rac_expected_model_files {
8080
* Mirrors Swift's ModelFileDescriptor struct.
8181
*/
8282
typedef struct rac_model_file_descriptor {
83-
/** Full URL to download this file from */
84-
const char* url;
83+
/** Relative path from base URL to this file */
84+
const char* relative_path;
8585

86-
/** Filename to save as (e.g., "model.gguf") */
87-
const char* filename;
86+
/** Destination path relative to model folder */
87+
const char* destination_path;
8888

8989
/** Whether this file is required (vs optional) */
9090
rac_bool_t is_required;

0 commit comments

Comments
 (0)