Skip to content

Commit 7178735

Browse files
committed
pipeline fix, hopefully - kamangir/bolt#746
1 parent ae3f96f commit 7178735

File tree

5 files changed

+47
-29
lines changed

5 files changed

+47
-29
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ pip install openai-commands
1919

2020
[![pylint](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/openai-commands.svg)](https://pypi.org/project/openai-commands/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/openai-commands)](https://pypistats.org/packages/openai-commands)
2121

22-
built by 🌀 [`blue_options-4.200.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.197.1`](https://github.com/kamangir/openai-commands).
22+
built by 🌀 [`blue_options-4.200.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.198.1`](https://github.com/kamangir/openai-commands).

openai_commands/.abcli/tests/help.sh

+23-26
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,38 @@
33
function test_openai_commands_help() {
44
local options=$1
55

6-
# TODO: enable
7-
return 0
8-
9-
# TODO: add,
6+
# TODO: add, (historic)
107
# - "openai_commands completion describe" \
118
# - "openai_commands images generate"
129
# - "DALL-E render" \
1310

11+
# TODO: add,
12+
# "literature_review" \
13+
# "literature_review combine" \
14+
# "literature_review multiple" \
15+
# "openai_commands completion" \
16+
# "openai_commands generate" \
17+
# "openai_commands generate image" \
18+
# "openai_commands generate video" \
19+
# "openai_commands generate validate" \
20+
# "openai_commands images" \
21+
# "openai_commands transform" \
22+
# "openai_commands vision" \
23+
# \
24+
# "openai_commands_gpt" \
25+
# "openai_commands_gpt list_models" \
26+
# \
27+
# "VisuaLyze" \
28+
# "VisuaLyze browse" \
29+
# "VisuaLyze run" \
30+
# "DALL-E"
31+
1432
local module
1533
for module in \
16-
"literature_review" \
17-
"literature_review combine" \
18-
"literature_review multiple" \
19-
\
20-
"@openai" \
2134
"@openai browse" \
2235
"@openai complete" \
2336
\
24-
"openai_commands completion" \
25-
"openai_commands generate" \
26-
"openai_commands generate image" \
27-
"openai_commands generate video" \
28-
"openai_commands generate validate" \
29-
"openai_commands images" \
30-
"openai_commands transform" \
31-
"openai_commands vision" \
32-
\
33-
"openai_commands_gpt" \
34-
"openai_commands_gpt list_models" \
35-
\
36-
"VisuaLyze" \
37-
"VisuaLyze browse" \
38-
"VisuaLyze run" \
39-
\
40-
"DALL-E"; do
37+
"@openai"; do
4138
abcli_eval ,$options \
4239
abcli_help $module
4340
[[ $? -ne 0 ]] && return 1

openai_commands/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
DESCRIPTION = f"{ICON} a command interface to the OpenAI API."
66

7-
VERSION = "3.197.1"
7+
VERSION = "3.198.1"
88

99
REPO_NAME = "openai-commands"
1010

openai_commands/help/functions.py

+21
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
1+
from typing import List
2+
13
from abcli.help.generic import help_functions as generic_help_functions
4+
from blue_options.terminal import show_usage
25

36
from openai_commands import ALIAS
47
from openai_commands.help.complete import help_complete
58

69

10+
def help_browse(
11+
tokens: List[str],
12+
mono: bool,
13+
) -> str:
14+
options = "actions|repo"
15+
16+
return show_usage(
17+
[
18+
"@plugin",
19+
"browse",
20+
f"[{options}]",
21+
],
22+
"browse blue_plugin.",
23+
mono=mono,
24+
)
25+
26+
727
help_functions = generic_help_functions(plugin_name=ALIAS)
828

929
help_functions.update(
1030
{
31+
"browse": help_browse,
1132
"complete": help_complete,
1233
}
1334
)

openai_commands/literature_review/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ literature review at scale on [AWS Batch](https://aws.amazon.com/batch/) through
4949
| | |
5050
| --- | --- |
5151
| [aws_batch](https://github.com/kamangir/notebooks-and-scripts/tree/main/blueflow/workflow/runners/aws_batch.py) | [local](https://github.com/kamangir/notebooks-and-scripts/tree/main/blueflow/workflow/runners/local.py) |
52-
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=86qnrjhkcankky1z)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=86qnrjhkcankky1z) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=sa25crexly2o0zkj)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=sa25crexly2o0zkj) |
52+
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=ger867w8mihdko51)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=ger867w8mihdko51) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=nf4o74abswichtov)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=nf4o74abswichtov) |
5353

5454
---
5555

0 commit comments

Comments
 (0)