auto-coder 0.1.214__py3-none-any.whl → 0.1.215__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of auto-coder might be problematic. Click here for more details.
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/METADATA +2 -2
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/RECORD +8 -8
- autocoder/common/search.py +3 -6
- autocoder/version.py +1 -1
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/LICENSE +0 -0
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/WHEEL +0 -0
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/entry_points.txt +0 -0
- {auto_coder-0.1.214.dist-info → auto_coder-0.1.215.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: auto-coder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.215
|
|
4
4
|
Summary: AutoCoder: AutoCoder
|
|
5
5
|
Author: allwefantasy
|
|
6
6
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -26,7 +26,7 @@ Requires-Dist: tabulate
|
|
|
26
26
|
Requires-Dist: jupyter-client
|
|
27
27
|
Requires-Dist: prompt-toolkit
|
|
28
28
|
Requires-Dist: tokenizers
|
|
29
|
-
Requires-Dist: byzerllm[saas] >=0.1.
|
|
29
|
+
Requires-Dist: byzerllm[saas] >=0.1.144
|
|
30
30
|
Requires-Dist: patch
|
|
31
31
|
Requires-Dist: diff-match-patch
|
|
32
32
|
Requires-Dist: GitPython
|
|
@@ -8,7 +8,7 @@ autocoder/chat_auto_coder.py,sha256=xg8o5Zh3Uhc9Cq4TeR2bCcyU7LiwSf8X0izyvQZyi8c,
|
|
|
8
8
|
autocoder/chat_auto_coder_lang.py,sha256=ReWukXKVvuzVvpbYk5O9kc1ev7XNmAv3DnuQhmpLmnc,8717
|
|
9
9
|
autocoder/command_args.py,sha256=BpMbPceBzjCftPB0yOVsSmTmt61xS3gtc1WGKtcDHQs,30449
|
|
10
10
|
autocoder/lang.py,sha256=U6AjVV8Rs1uLyjFCZ8sT6WWuNUxMBqkXXIOs4S120uk,14511
|
|
11
|
-
autocoder/version.py,sha256=
|
|
11
|
+
autocoder/version.py,sha256=IihUZg8cv9NkoKSCxqfNNkFfexYf5wMkv_LXnxQC11Q,24
|
|
12
12
|
autocoder/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
autocoder/agent/auto_demand_organizer.py,sha256=NWSAEsEk94vT3lGjfo25kKLMwYdPcpy9e-i21txPasQ,6942
|
|
14
14
|
autocoder/agent/auto_filegroup.py,sha256=CW7bqp0FW1GIEMnl-blyAc2UGT7O9Mom0q66ITz1ckM,6635
|
|
@@ -50,7 +50,7 @@ autocoder/common/mcp_server.py,sha256=QZRr3visIiRUcCfQqVuGngPh9yYlAq0BWijHLpbFoh
|
|
|
50
50
|
autocoder/common/mcp_tools.py,sha256=dun9P9txSxSvDe7z3EUXTsV8Gx1RXMAJpsSPqI-D4ok,29546
|
|
51
51
|
autocoder/common/recall_validation.py,sha256=Avt9Q9dX3kG6Pf2zsdlOHmsjd-OeSj7U1PFBDp_Cve0,1700
|
|
52
52
|
autocoder/common/screenshots.py,sha256=_gA-z1HxGjPShBrtgkdideq58MG6rqFB2qMUJKjrycs,3769
|
|
53
|
-
autocoder/common/search.py,sha256=
|
|
53
|
+
autocoder/common/search.py,sha256=245iPFgWhMldoUK3CqCP89ltaxZiNPK73evoG6Fp1h8,16518
|
|
54
54
|
autocoder/common/search_replace.py,sha256=GphFkc57Hb673CAwmbiocqTbw8vrV7TrZxtOhD0332g,22147
|
|
55
55
|
autocoder/common/sys_prompt.py,sha256=JlexfjZt554faqbgkCmzOJqYUzDHfbnxly5ugFfHfEE,26403
|
|
56
56
|
autocoder/common/text.py,sha256=KGRQq314GHBmY4MWG8ossRoQi1_DTotvhxchpn78c-k,1003
|
|
@@ -119,9 +119,9 @@ autocoder/utils/request_event_queue.py,sha256=r3lo5qGsB1dIjzVQ05dnr0z_9Z3zOkBdP1
|
|
|
119
119
|
autocoder/utils/request_queue.py,sha256=nwp6PMtgTCiuwJI24p8OLNZjUiprC-TsefQrhMI-yPE,3889
|
|
120
120
|
autocoder/utils/rest.py,sha256=HawagAap3wMIDROGhY1730zSZrJR_EycODAA5qOj83c,8807
|
|
121
121
|
autocoder/utils/tests.py,sha256=BqphrwyycGAvs-5mhH8pKtMZdObwhFtJ5MC_ZAOiLq8,1340
|
|
122
|
-
auto_coder-0.1.
|
|
123
|
-
auto_coder-0.1.
|
|
124
|
-
auto_coder-0.1.
|
|
125
|
-
auto_coder-0.1.
|
|
126
|
-
auto_coder-0.1.
|
|
127
|
-
auto_coder-0.1.
|
|
122
|
+
auto_coder-0.1.215.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
123
|
+
auto_coder-0.1.215.dist-info/METADATA,sha256=sgkxUJzd2NzfmzIMHy0IUQ26s5voTnyDMNuU6ri6OrU,2590
|
|
124
|
+
auto_coder-0.1.215.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
125
|
+
auto_coder-0.1.215.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
|
|
126
|
+
auto_coder-0.1.215.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
|
|
127
|
+
auto_coder-0.1.215.dist-info/RECORD,,
|
autocoder/common/search.py
CHANGED
|
@@ -6,7 +6,7 @@ from pydantic import BaseModel,Field
|
|
|
6
6
|
import requests
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import byzerllm
|
|
9
|
-
from
|
|
9
|
+
from byzerllm.utils import format_str_jinja2
|
|
10
10
|
from autocoder.utils.rest import HttpDoc
|
|
11
11
|
|
|
12
12
|
# Search engine related. You don't really need to change this.
|
|
@@ -51,10 +51,7 @@ def llm_rerank(llm:byzerllm.ByzerLLM,query:str,docs:List[str],top_k:int=1):
|
|
|
51
51
|
"{context_str}\n"
|
|
52
52
|
"Question: {query_str}\n"
|
|
53
53
|
"Answer:\n"
|
|
54
|
-
)
|
|
55
|
-
DEFAULT_CHOICE_SELECT_PROMPT = PromptTemplate.from_template(
|
|
56
|
-
DEFAULT_CHOICE_SELECT_PROMPT_TMPL
|
|
57
|
-
)
|
|
54
|
+
)
|
|
58
55
|
|
|
59
56
|
context_str = ""
|
|
60
57
|
for i,metric in enumerate(docs):
|
|
@@ -64,7 +61,7 @@ def llm_rerank(llm:byzerllm.ByzerLLM,query:str,docs:List[str],top_k:int=1):
|
|
|
64
61
|
|
|
65
62
|
r = llm.chat_oai(conversations=[{
|
|
66
63
|
"role": "user",
|
|
67
|
-
"content":
|
|
64
|
+
"content": format_str_jinja2(DEFAULT_CHOICE_SELECT_PROMPT_TMPL,context_str=context_str,query_str=query_str)
|
|
68
65
|
}])
|
|
69
66
|
|
|
70
67
|
r = llm.chat_oai(conversations=[{
|
autocoder/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.215"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|