From 4f97cf3a1580167e0b76f885ad4a43e58d7bce49 Mon Sep 17 00:00:00 2001 From: Peter Friese Date: Thu, 28 Sep 2023 21:41:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Linux=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Friese --- Sources/GoogleGenerativeAI/GenerativeLanguage.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/GoogleGenerativeAI/GenerativeLanguage.swift b/Sources/GoogleGenerativeAI/GenerativeLanguage.swift index 4761604..2c6361e 100644 --- a/Sources/GoogleGenerativeAI/GenerativeLanguage.swift +++ b/Sources/GoogleGenerativeAI/GenerativeLanguage.swift @@ -15,6 +15,10 @@ import Foundation import Get +#if canImport(FoundationNetworking) + import FoundationNetworking +#endif + /// The API client for the PaLM API. public class GenerativeLanguage {