summaryrefslogtreecommitdiff
path: root/convertToPB.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-01 01:55:06 -0500
committerJeff Carr <[email protected]>2025-09-01 01:55:06 -0500
commitc65619154eb37912be8af563de113e028665633c (patch)
tree6f305a21a6292c18463bc07bb302cf0b26ed08a3 /convertToPB.go
parentc63a746d0baa7880c54a0069b03f1924c3be3f46 (diff)
sub in the functions
Diffstat (limited to 'convertToPB.go')
-rw-r--r--convertToPB.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/convertToPB.go b/convertToPB.go
new file mode 100644
index 0000000..3f87e34
--- /dev/null
+++ b/convertToPB.go
@@ -0,0 +1,12 @@
+package main
+
+import (
+ "go.wit.com/lib/protobuf/chatpb"
+ "google.golang.org/genai"
+)
+
+func convertToPB(resp *genai.GenerateContentResponse) *chatpb.ChatEntry {
+ pb := new(chatpb.ChatEntry)
+ // TODO: add the code to convert the response to the protobuf
+ return pb
+}