aboutsummaryrefslogtreecommitdiffstats
path: root/lib/G4fClient
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-02-21 20:47:54 +0100
committertv <tv@krebsco.de>2026-02-21 22:22:17 +0100
commit528f21f3e0862511fdf4b04659565f8cb3346aac (patch)
tree007ed45538bc2315d5a6cc9fe432c024674b1a82 /lib/G4fClient
parenta43e1aa62066dd16523c6fac566ed0b1a0fc1db2 (diff)
data Content -> type TextHEADmaster
Diffstat (limited to 'lib/G4fClient')
-rw-r--r--lib/G4fClient/Model.hs21
1 files changed, 2 insertions, 19 deletions
diff --git a/lib/G4fClient/Model.hs b/lib/G4fClient/Model.hs
index 35baa85..e878672 100644
--- a/lib/G4fClient/Model.hs
+++ b/lib/G4fClient/Model.hs
@@ -612,31 +612,14 @@ mkCompletionTokenDetails completionTokenDetailsReasoningTokens completionTokenDe
-- | Content
-- Content
--
-data Content = Content
- {
- } deriving (P.Show, P.Eq, P.Typeable)
-
--- | FromJSON Content
-instance A.FromJSON Content where
- parseJSON = A.withObject "Content" $ \o ->
- pure Content
-
-
--- | ToJSON Content
-instance A.ToJSON Content where
- toJSON Content =
- _omitNulls
- [
- ]
+type Content = Text
-- | Construct a value of type 'Content' (by applying it's required fields, if any)
mkContent
:: Content
mkContent =
- Content
- {
- }
+ ""
-- ** ContentPart
-- | ContentPart