Skip to content

Commit

Permalink
deploy: c0eb21f
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 9, 2024
1 parent 36dec22 commit ff0c0c7
Show file tree
Hide file tree
Showing 6 changed files with 278 additions and 286 deletions.
2 changes: 1 addition & 1 deletion docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ <h3>LogManager<a class="headerlink" href="#logmanager" title="Link to this headi

<dl class="py method">
<dt class="sig sig-object py" id="gptme.logmanager.LogManager.load">
<em class="property"><span class="pre">classmethod</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">logdir</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">initial_msgs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#gptme.message.Message" title="gptme.message.Message"><span class="pre">Message</span></a><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">branch</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">'main'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">create</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#gptme.logmanager.LogManager" title="gptme.logmanager.LogManager"><span class="pre">LogManager</span></a></span></span><a class="headerlink" href="#gptme.logmanager.LogManager.load" title="Link to this definition">#</a></dt>
<em class="property"><span class="pre">classmethod</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">logdir</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">initial_msgs</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#gptme.message.Message" title="gptme.message.Message"><span class="pre">Message</span></a><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">branch</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">'main'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">create</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lock</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#gptme.logmanager.LogManager" title="gptme.logmanager.LogManager"><span class="pre">LogManager</span></a></span></span><a class="headerlink" href="#gptme.logmanager.LogManager.load" title="Link to this definition">#</a></dt>
<dd><p>Loads a conversation log.</p>
</dd></dl>

Expand Down
58 changes: 29 additions & 29 deletions docs/arewetiny.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,15 +414,15 @@ <h1>Are we tiny?<a class="headerlink" href="#are-we-tiny" title="Link to this he
<h2>Startup time<a class="headerlink" href="#startup-time" title="Link to this heading">#</a></h2>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>$ make bench-importtime
...
220810 | gptme.commands
228616 | gptme.chat
283762 | gptme.cli
329244 | openai
331131 | gptme

real 0m1.381s
user 0m1.230s
sys 0m0.163s
229035 | gptme.commands
237403 | gptme.chat
294557 | gptme.cli
329115 | openai
343899 | gptme

real 0m1.430s
user 0m1.295s
sys 0m0.148s
make[2]: Leaving directory &#39;/home/runner/work/gptme/gptme&#39;
</pre></div>
</div>
Expand All @@ -439,14 +439,14 @@ <h3>LoC Core<a class="headerlink" href="#loc-core" title="Link to this heading">
34 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.04 s (766.3 files/s, 145529.6 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.05 s (751.4 files/s, 143791.3 lines/s)
---------------------------------------------------------------------------------
File blank comment code
---------------------------------------------------------------------------------
gptme/tools/base.py 82 70 322
gptme/logmanager.py 73 63 317
gptme/tools/base.py 91 73 344
gptme/logmanager.py 73 63 320
gptme/chat.py 54 88 309
gptme/cli.py 54 41 285
gptme/cli.py 54 41 287
gptme/llm/llm_openai.py 59 26 239
gptme/ncurses.py 39 5 238
gptme/llm/llm_anthropic.py 51 18 219
Expand All @@ -460,7 +460,7 @@ <h3>LoC Core<a class="headerlink" href="#loc-core" title="Link to this heading">
gptme/llm/models.py 24 12 150
gptme/prompts.py 56 80 141
gptme/llm/llm_openai_models.py 3 9 132
gptme/tools/__init__.py 23 13 118
gptme/tools/__init__.py 23 20 121
gptme/config.py 32 13 108
gptme/util/readline.py 31 24 87
gptme/util/export.py 17 25 86
Expand All @@ -478,7 +478,7 @@ <h3>LoC Core<a class="headerlink" href="#loc-core" title="Link to this heading">
gptme/__version__.py 2 0 7
gptme/__main__.py 1 0 3
---------------------------------------------------------------------------------
SUM: 1030 890 4537
SUM: 1039 900 4567
---------------------------------------------------------------------------------
make[2]: Leaving directory &#39;/home/runner/work/gptme/gptme&#39;
</pre></div>
Expand All @@ -494,7 +494,7 @@ <h3>LoC LLM<a class="headerlink" href="#loc-llm" title="Link to this heading">#<
5 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.01 s (403.4 files/s, 99724.1 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.01 s (398.8 files/s, 98573.2 lines/s)
---------------------------------------------------------------------------------
File blank comment code
---------------------------------------------------------------------------------
Expand All @@ -520,19 +520,19 @@ <h3>LoC Tools<a class="headerlink" href="#loc-tools" title="Link to this heading
20 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.03 s (735.0 files/s, 136057.7 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.03 s (717.3 files/s, 134342.2 lines/s)
-------------------------------------------------------------------------------------
File blank comment code
-------------------------------------------------------------------------------------
gptme/tools/base.py 82 70 322
gptme/tools/base.py 91 73 344
gptme/tools/shell.py 77 69 320
gptme/tools/patch.py 43 56 180
gptme/tools/tmux.py 45 62 172
gptme/tools/_browser_playwright.py 58 28 165
gptme/tools/save.py 32 38 162
gptme/tools/computer.py 55 84 156
gptme/tools/python.py 49 48 132
gptme/tools/__init__.py 23 13 118
gptme/tools/__init__.py 23 20 121
gptme/tools/_rag_context.py 51 28 116
gptme/tools/subagent.py 37 29 101
gptme/tools/chats.py 32 34 93
Expand All @@ -545,7 +545,7 @@ <h3>LoC Tools<a class="headerlink" href="#loc-tools" title="Link to this heading
gptme/tools/vision.py 8 7 15
gptme/tools/read.py 6 8 13
-------------------------------------------------------------------------------------
SUM: 709 714 2279
SUM: 718 724 2304
-------------------------------------------------------------------------------------
make[2]: Leaving directory &#39;/home/runner/work/gptme/gptme&#39;
</pre></div>
Expand All @@ -561,7 +561,7 @@ <h3>LoC Server<a class="headerlink" href="#loc-server" title="Link to this headi
8 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.01 s (790.7 files/s, 116931.3 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.01 s (741.9 files/s, 109710.2 lines/s)
------------------------------------------------------------------------------------
File blank comment code
------------------------------------------------------------------------------------
Expand Down Expand Up @@ -590,7 +590,7 @@ <h3>LoC Tests<a class="headerlink" href="#loc-tests" title="Link to this heading
25 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.02 s (1231.3 files/s, 106974.2 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.02 s (1257.1 files/s, 109215.9 lines/s)
------------------------------------------------------------------------------------------
File blank comment code
------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -636,7 +636,7 @@ <h3>LoC Eval<a class="headerlink" href="#loc-eval" title="Link to this heading">
8 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.01 s (649.4 files/s, 79389.0 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.01 s (634.0 files/s, 77507.9 lines/s)
-------------------------------------------------------------------------------------
File blank comment code
-------------------------------------------------------------------------------------
Expand Down Expand Up @@ -665,16 +665,16 @@ <h3>LoC Total<a class="headerlink" href="#loc-total" title="Link to this heading
99 unique files.
0 files ignored.

github.com/AlDanial/cloc v 1.90 T=0.09 s (1070.1 files/s, 150193.4 lines/s)
github.com/AlDanial/cloc v 1.90 T=0.09 s (1056.0 files/s, 148736.0 lines/s)
-------------------------------------------------------------------------------------
File blank comment code
-------------------------------------------------------------------------------------
gptme/tools/base.py 82 70 322
gptme/tools/base.py 91 73 344
gptme/logmanager.py 73 63 320
gptme/tools/shell.py 77 69 320
gptme/logmanager.py 73 63 317
gptme/chat.py 54 88 309
gptme/eval/main.py 52 18 307
gptme/cli.py 54 41 285
gptme/cli.py 54 41 287
tests/test_cli.py 77 41 285
gptme/eval/run.py 47 27 274
gptme/llm/llm_openai.py 59 26 239
Expand All @@ -698,7 +698,7 @@ <h3>LoC Total<a class="headerlink" href="#loc-total" title="Link to this heading
gptme/llm/llm_openai_models.py 3 9 132
gptme/tools/python.py 49 48 132
tests/test_tool_use.py 8 18 126
gptme/tools/__init__.py 23 13 118
gptme/tools/__init__.py 23 20 121
gptme/tools/_rag_context.py 51 28 116
gptme/config.py 32 13 108
scripts/gpt_todoer.py 47 25 107
Expand Down Expand Up @@ -769,7 +769,7 @@ <h3>LoC Total<a class="headerlink" href="#loc-total" title="Link to this heading
gptme/server/__init__.py 2 3 3
gptme/server/__main__.py 1 0 3
-------------------------------------------------------------------------------------
SUM: 2458 2199 9238
SUM: 2467 2209 9268
-------------------------------------------------------------------------------------
make[2]: Leaving directory &#39;/home/runner/work/gptme/gptme&#39;
</pre></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h2>gptme<a class="headerlink" href="#gptme" title="Link to this heading">#</a><
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-gptme-t">
<span id="cmdoption-gptme-tools"></span><span class="sig-name descname"><span class="pre">-t</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--tools</span></span><span class="sig-prename descclassname"> <span class="pre">&lt;tool_allowlist&gt;</span></span><a class="headerlink" href="#cmdoption-gptme-t" title="Link to this definition">#</a></dt>
<dd><p>Comma-separated list of tools to allow. Available: read, save, append, patch, shell, subagent, tmux, browser, gh, chats, screenshot, vision, computer, python.</p>
<dd><p>Comma-separated list of tools to allow. Available: append, browser, chats, computer, gh, patch, python, read, save, screenshot, shell, subagent, tmux, vision.</p>
</dd></dl>

<dl class="std option">
Expand Down
Loading

0 comments on commit ff0c0c7

Please sign in to comment.