Skip to content

Commit 3331580

Browse files
committed
TODOs
1 parent f2a1f32 commit 3331580

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gemini-cli.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def main():
3030

3131
# TODO argument to change gemini model. For now only use gemma-3-27b-it since it has the most "free" uses per day
3232
# TODO verbose argument, tho idk if needed for such simple script
33+
# TODO "update" argument, which would download new version and install it in place of
34+
# the older script, as long as user has RW permissions to the file
3335
# TODO additional information about gemini token location and format
3436

3537
parser.add_argument(
@@ -51,6 +53,8 @@ def run_tool(args):
5153
prompt = args.prompt
5254

5355
if args.short:
56+
# TODO add customization of this text by "~/.config/geminishort" file contents
57+
# used for example when using another language, so in PL it would be "Odpowiadaj krótko i zwięźle. "
5458
prompt = f"Keep your answer short. {args.prompt}"
5559

5660
if args.debug:
@@ -135,6 +139,8 @@ def run_tool(args):
135139
gemini_output = j["candidates"][0]["content"]["parts"][0]["text"]
136140
print(gemini_output)
137141

142+
# TODO no matter the "--keep" argument, save last prompt and response to $TMPDIR/gemini-last.txt
143+
138144
if args.keep:
139145
content_location = ("~/.gemini_logs/LOG_"
140146
+ str(datetime.today().strftime('%Y.%m.%d_%H.%M.%S')) +

0 commit comments

Comments
 (0)