Commit 0bad7ba
committed
Refactor content generation API and purge legacy documentation
This commit implements a major refactoring of the core generation logic
by removing the Gemini.Generate module and migrating its functionality
into the Gemini.APIs.Coordinator namespace. This change unifies the
interface for content generation and streaming across the library.
Primary modifications:
- Deleted the legacy lib/gemini/apis/generate.ex file.
- Transitioned examples to use the Coordinator for generate_content calls.
- Updated tool calling demos to use internal parsing helpers within the
Coordinator module.
- Removed the oldDocs directory containing obsolete design specifications,
telemetry requirements, and refactoring plans.
- Simplified generate_parsing_test.exs by moving general response parsing
tests to the Coordinator and retaining only tool result helpers.
These changes reduce technical debt by eliminating redundant documentation
and consolidating the service orchestration layer.1 parent 919a6b6 commit 0bad7ba
File tree
84 files changed
+11
-25568
lines changed- examples
- lib/gemini/apis
- oldDocs
- docs
- desktop
- geminiRefactor2
- lib
- apis
- types
- request
- response
- geminiRefactor
- plan
- spec
- test/gemini/apis
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
84 files changed
+11
-25568
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 183 | | |
193 | 184 | | |
194 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments