Release 1.2.2
github-actions[bot] committed
Jul 23, 2026 at 00:23 UTC
0aca26dec2cc925664c687dea774a1776a6aed65
2 files changed
+114
-2
Package.swift
+2
-2
@@ -24,9 +24,9 @@ let packageRoot = URL(fileURLWithPath: #filePath).deletingLastPathComponent()
24
let localFrameworkPath = "OndeFramework.xcframework"
25
let localFrameworkAbsolutePath = packageRoot.appendingPathComponent(localFrameworkPath).path
26
let releaseFrameworkURL =
27
- "https://github.com/ondeinference/onde/releases/download/1.1.4/OndeFramework.xcframework.zip"
27
+ "https://github.com/ondeinference/onde/releases/download/1.2.2/OndeFramework.xcframework.zip"
28
let releaseFrameworkChecksum =
29
- "7569930a5da0f47ba3449827401efc8d293f2bf3102d109f5c4e0de45b468285"
29
+ "3e930144fd078d1bed78ebafa22edf9763a3bc6588b0a4667fb37096ba78220b"
30
31
let ondeFrameworkTarget: Target
32
if FileManager.default.fileExists(atPath: localFrameworkAbsolutePath) {
Sources/Onde/onde.swift
+112
@@ -2781,6 +2781,91 @@ public func qwen253bConfig() -> GgufModelConfig {
2781
)
2782
})
2783
}
2784
+/**
2785
+ * Return the Qwen 3 0.6B GGUF model configuration (~0.5 GB).
2786
+ */
2787
+public func qwen306bConfig() -> GgufModelConfig {
2788
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2789
+ uniffi_onde_fn_func_qwen3_0_6b_config($0
2790
+ )
2791
+})
2792
+}
2793
+/**
2794
+ * Return the Qwen 3 14B GGUF model configuration (~8.4 GB).
2795
+ */
2796
+public func qwen314bConfig() -> GgufModelConfig {
2797
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2798
+ uniffi_onde_fn_func_qwen3_14b_config($0
2799
+ )
2800
+})
2801
+}
2802
+/**
2803
+ * Return the Qwen 3 1.7B GGUF model configuration (~1.3 GB).
2804
+ */
2805
+public func qwen317bConfig() -> GgufModelConfig {
2806
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2807
+ uniffi_onde_fn_func_qwen3_1_7b_config($0
2808
+ )
2809
+})
2810
+}
2811
+/**
2812
+ * Return the Qwen 3 30B-A3B Instruct 2507 (MoE) GGUF model configuration (~18.6 GB).
2813
+ */
2814
+public func qwen330bA3bInstruct2507Config() -> GgufModelConfig {
2815
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2816
+ uniffi_onde_fn_func_qwen3_30b_a3b_instruct_2507_config($0
2817
+ )
2818
+})
2819
+}
2820
+/**
2821
+ * Return the Qwen 3 32B GGUF model configuration (~19.8 GB).
2822
+ */
2823
+public func qwen332bConfig() -> GgufModelConfig {
2824
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2825
+ uniffi_onde_fn_func_qwen3_32b_config($0
2826
+ )
2827
+})
2828
+}
2829
+/**
2830
+ * Return the Qwen 3 4B GGUF model configuration (~2.7 GB).
2831
+ */
2832
+public func qwen34bConfig() -> GgufModelConfig {
2833
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2834
+ uniffi_onde_fn_func_qwen3_4b_config($0
2835
+ )
2836
+})
2837
+}
2838
+/**
2839
+ * Return the Qwen 3 4B Instruct 2507 GGUF model configuration (~2.5 GB).
2840
+ *
2841
+ * Latest non-thinking 4B checkpoint — recommended general-purpose Qwen 3 model.
2842
+ */
2843
+public func qwen34bInstruct2507Config() -> GgufModelConfig {
2844
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2845
+ uniffi_onde_fn_func_qwen3_4b_instruct_2507_config($0
2846
+ )
2847
+})
2848
+}
2849
+/**
2850
+ * Return the Qwen 3 4B Thinking 2507 GGUF model configuration (~2.5 GB).
2851
+ *
2852
+ * Latest reasoning-focused 4B checkpoint; load with `max_tokens ≥ 4096`.
2853
+ */
2854
+public func qwen34bThinking2507Config() -> GgufModelConfig {
2855
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2856
+ uniffi_onde_fn_func_qwen3_4b_thinking_2507_config($0
2857
+ )
2858
+})
2859
+}
2860
+/**
2861
+ * Return the Qwen 3 8B GGUF model configuration (~5 GB).
2862
+ */
2863
+public func qwen38bConfig() -> GgufModelConfig {
2864
+ return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2865
+ uniffi_onde_fn_func_qwen3_8b_config($0
2866
+ )
2867
+})
2868
+}
2869
/**
2870
* Stream a chat message through the engine, delivering token chunks to
2871
* the `listener` callback.
@@ -2887,6 +2972,33 @@ private let initializationResult: InitializationResult = {
2972
if (uniffi_onde_checksum_func_qwen25_3b_config() != 36458) {
2973
return InitializationResult.apiChecksumMismatch
2974
}
2975
+ if (uniffi_onde_checksum_func_qwen3_0_6b_config() != 20653) {
2976
+ return InitializationResult.apiChecksumMismatch
2977
+ }
2978
+ if (uniffi_onde_checksum_func_qwen3_14b_config() != 44701) {
2979
+ return InitializationResult.apiChecksumMismatch
2980
+ }
2981
+ if (uniffi_onde_checksum_func_qwen3_1_7b_config() != 32382) {
2982
+ return InitializationResult.apiChecksumMismatch
2983
+ }
2984
+ if (uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config() != 55315) {
2985
+ return InitializationResult.apiChecksumMismatch
2986
+ }
2987
+ if (uniffi_onde_checksum_func_qwen3_32b_config() != 20244) {
2988
+ return InitializationResult.apiChecksumMismatch
2989
+ }
2990
+ if (uniffi_onde_checksum_func_qwen3_4b_config() != 44102) {
2991
+ return InitializationResult.apiChecksumMismatch
2992
+ }
2993
+ if (uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config() != 20415) {
2994
+ return InitializationResult.apiChecksumMismatch
2995
+ }
2996
+ if (uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config() != 9987) {
2997
+ return InitializationResult.apiChecksumMismatch
2998
+ }
2999
+ if (uniffi_onde_checksum_func_qwen3_8b_config() != 16355) {
3000
+ return InitializationResult.apiChecksumMismatch
3001
+ }
3002
if (uniffi_onde_checksum_func_stream_chat_message() != 5168) {
3003
return InitializationResult.apiChecksumMismatch
3004
}