dmddl 0.2.11__py3-none-any.whl → 0.2.13__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.
- dmddl/cli.py +3 -1
- {dmddl-0.2.11.dist-info → dmddl-0.2.13.dist-info}/METADATA +1 -1
- {dmddl-0.2.11.dist-info → dmddl-0.2.13.dist-info}/RECORD +6 -6
- {dmddl-0.2.11.dist-info → dmddl-0.2.13.dist-info}/LICENSE +0 -0
- {dmddl-0.2.11.dist-info → dmddl-0.2.13.dist-info}/WHEEL +0 -0
- {dmddl-0.2.11.dist-info → dmddl-0.2.13.dist-info}/entry_points.txt +0 -0
dmddl/cli.py
CHANGED
@@ -30,11 +30,13 @@ def ask_api_key():
|
|
30
30
|
|
31
31
|
def make_query(provider, api_key, prompt):
|
32
32
|
console = Console()
|
33
|
+
print(provider)
|
33
34
|
with console.status("[bold blue]Making query. Wait for result..."):
|
34
35
|
if provider == "OpenAI":
|
35
36
|
response = openai_request(base_prompt+prompt, api_key)
|
36
37
|
return response
|
37
|
-
|
38
|
+
|
39
|
+
elif provider is None:
|
38
40
|
raise Exception("Use -c (--config) to configurate app and set LLM provider.")
|
39
41
|
|
40
42
|
raise Exception("LLM Provider not found")
|
@@ -1,12 +1,12 @@
|
|
1
1
|
dmddl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
dmddl/cli.py,sha256=
|
2
|
+
dmddl/cli.py,sha256=h8MmS8o8g0gN0QpseW3yfeTtSbSXDHS6ECc9KhhF1ew,3314
|
3
3
|
dmddl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
dmddl/config/settings.py,sha256=tzxldPnnVv1Shu32XljVO2VuHza43zr61zFcMM_bxvg,1341
|
5
5
|
dmddl/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
dmddl/models/llm.py,sha256=-0e9tyMXki4t9R-zKEqcNveFbwKhJmMxOVR7VkhMv7g,851
|
7
7
|
dmddl/models/prompt.py,sha256=7cjWC-mQJR32jc0a0GsyoYDZWROB57Yk4Wy4nRsiFoM,1923
|
8
|
-
dmddl-0.2.
|
9
|
-
dmddl-0.2.
|
10
|
-
dmddl-0.2.
|
11
|
-
dmddl-0.2.
|
12
|
-
dmddl-0.2.
|
8
|
+
dmddl-0.2.13.dist-info/entry_points.txt,sha256=87tyUAFcB9RYRLhYyxroZxcTho-o3IGXnMM4uMGKdV4,40
|
9
|
+
dmddl-0.2.13.dist-info/LICENSE,sha256=C--Tlk2EXyLEz1DSTQFKOo-WblCPTsxPcd8t63NCauw,1090
|
10
|
+
dmddl-0.2.13.dist-info/METADATA,sha256=wZAgdC5LnC2UycBUTz8ECOgdew90fz-shaV1jhqOmPg,935
|
11
|
+
dmddl-0.2.13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
12
|
+
dmddl-0.2.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|