Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running %ai help yields %%ai help twice #204

Closed
JasonWeill opened this issue May 31, 2023 · 0 comments · Fixed by #220
Closed

Running %ai help yields %%ai help twice #204

JasonWeill opened this issue May 31, 2023 · 0 comments · Fixed by #220
Assignees
Labels
bug Something isn't working @jupyter-ai/magics
Milestone

Comments

@JasonWeill
Copy link
Collaborator

Description

After #188 was merged in, running %ai help results in the %%ai command being described twice:

Usage: %%ai [OPTIONS] MODEL_ID

  Invokes a language model identified by MODEL_ID, with the prompt being
  contained in all lines after the first. Both local model IDs and global
  model IDs (with the provider ID explicitly prefixed, followed by a colon)
  are accepted.

  To view available language models, please run `%ai list`.

Options:
  -f, --format [code|html|image|json|markdown|math|md|text]
                                  IPython display to use when rendering
                                  output. [default="markdown"]
  -r, --reset                     Clears the conversation transcript used when
                                  interacting with an OpenAI chat model
                                  provider. Does nothing with other providers.
  --help                          Show this message and exit.
------------------------------------------------------------------------------
Usage: %%ai [OPTIONS] MODEL_ID

  Invokes a language model identified by MODEL_ID, with the prompt being
  contained in all lines after the first. Both local model IDs and global
  model IDs (with the provider ID explicitly prefixed, followed by a colon)
  are accepted.

  To view available language models, please run `%ai list`.

Options:
  -f, --format [code|html|image|json|markdown|math|md|text]
                                  IPython display to use when rendering
                                  output. [default="markdown"]
  -r, --reset                     Clears the conversation transcript used when
                                  interacting with an OpenAI chat model
                                  provider. Does nothing with other providers.
  --help                          Show this message and exit.
------------------------------------------------------------------------------
Usage: %ai [OPTIONS] COMMAND [ARGS]...

  Invokes a subcommand.

Options:
  --help  Show this message and exit.

Commands:
  help  Show this message and exit.
  list  List language models. See `%ai list --help` for options.
@JasonWeill JasonWeill added bug Something isn't working @jupyter-ai/magics labels May 31, 2023
@JasonWeill JasonWeill changed the title Running %ai help yields %%ai tips twice Running %ai help yields %%ai help twice May 31, 2023
@JasonWeill JasonWeill self-assigned this Jun 9, 2023
@JasonWeill JasonWeill added this to the 0.8.0 Release milestone Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @jupyter-ai/magics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant