Skip to content

Commit

Permalink
deploy: 1d0373b
Browse files Browse the repository at this point in the history
  • Loading branch information
DavdGao committed Nov 5, 2024
1 parent ef60e02 commit 4d23ae1
Show file tree
Hide file tree
Showing 75 changed files with 1,882 additions and 40 deletions.
Binary file modified en/.doctrees/agentscope.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.dashscope_model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.litellm_model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.ollama_model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.openai_model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.post_model.doctree
Binary file not shown.
Binary file modified en/.doctrees/agentscope.models.zhipu_model.doctree
Binary file not shown.
Binary file added en/.doctrees/agentscope.tokens.doctree
Binary file not shown.
Binary file modified en/.doctrees/environment.pickle
Binary file not shown.
Binary file modified en/.doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion en/_modules/agentscope/logging.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h1>Source code for agentscope.logging</h1><div class="highlight"><pre>
<span class="n">LEVEL_SAVE_MSG</span> <span class="o">=</span> <span class="s2">&quot;SAVE_MSG&quot;</span>

<span class="n">_DEFAULT_LOG_FORMAT</span> <span class="o">=</span> <span class="p">(</span>
<span class="s2">&quot;&lt;green&gt;{time:YYYY-MM-DD HH:mm:ss.SSS}&lt;/green&gt; | &lt;level&gt;{&quot;</span>
<span class="s2">&quot;&lt;green&gt;{time:YYYY-MM-DD HH:mm:ss}&lt;/green&gt; | &lt;level&gt;{&quot;</span>
<span class="s2">&quot;level: &lt;8}&lt;/level&gt; | &lt;cyan&gt;</span><span class="si">{name}</span><span class="s2">&lt;/cyan&gt;:&lt;cyan&gt;{&quot;</span>
<span class="s2">&quot;function}&lt;/cyan&gt;:&lt;cyan&gt;</span><span class="si">{line}</span><span class="s2">&lt;/cyan&gt; - &lt;level&gt;{&quot;</span>
<span class="s2">&quot;message}&lt;/level&gt;&quot;</span>
Expand Down
2 changes: 1 addition & 1 deletion en/_modules/agentscope/models/model.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ <h1>Source code for agentscope.models.model</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="p">,</span>
<span class="o">*</span><span class="n">args</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="n">Msg</span><span class="p">,</span> <span class="n">Sequence</span><span class="p">[</span><span class="n">Msg</span><span class="p">]],</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Union</span><span class="p">[</span><span class="n">List</span><span class="p">[</span><span class="nb">dict</span><span class="p">],</span> <span class="nb">str</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Format the input string or dict into the format that the model</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Format the input messages into the format that the model</span>
<span class="sd"> API required.&quot;&quot;&quot;</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;Model Wrapper [</span><span class="si">{</span><span class="nb">type</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="vm">__name__</span><span class="si">}</span><span class="s2">]&quot;</span>
Expand Down
5 changes: 4 additions & 1 deletion en/_modules/agentscope/service.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ <h1>Source code for agentscope.service</h1><div class="highlight"><pre>
<a class="viewcode-back" href="../../agentscope.service.html#agentscope.service.get_help">[docs]</a>
<span class="k">def</span> <span class="nf">get_help</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Get help message.&quot;&quot;&quot;</span>
<span class="n">help_msg</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;The following service are available:</span><span class="se">\n</span><span class="si">{</span><span class="n">__all__</span><span class="si">}</span><span class="s2">&quot;</span>

<span class="n">help_msg</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="se">\n</span><span class="s2"> - &quot;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span>
<span class="p">[</span><span class="s2">&quot;The following services are available:&quot;</span><span class="p">]</span> <span class="o">+</span> <span class="n">__all__</span><span class="p">[</span><span class="mi">4</span><span class="p">:],</span>
<span class="p">)</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="n">help_msg</span><span class="p">)</span></div>


Expand Down
2 changes: 1 addition & 1 deletion en/_modules/agentscope/service/browser/web_browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ <h1>Source code for agentscope.service.browser.web_browser</h1><div class="highl
<span class="bp">self</span><span class="o">.</span><span class="n">_page</span><span class="o">.</span><span class="n">evaluate</span><span class="p">(</span><span class="s2">&quot;element =&gt; element.focus()&quot;</span><span class="p">,</span> <span class="n">web_ele</span><span class="p">)</span>

<span class="c1"># Type in the text</span>
<span class="n">web_ele</span><span class="o">.</span><span class="n">type</span><span class="p">(</span><span class="n">text</span><span class="p">)</span>
<span class="n">web_ele</span><span class="o">.</span><span class="n">type</span><span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">text</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_wait_for_load</span><span class="p">(</span>
<span class="s2">&quot;Wait for finish typing&quot;</span><span class="p">,</span>
<span class="s2">&quot;Finished&quot;</span><span class="p">,</span>
Expand Down
Loading

0 comments on commit 4d23ae1

Please sign in to comment.