Skip to content

Error code 500 #12

@sahilmtayade

Description

@sahilmtayade

Describe the bug
Successfully ran docker line for gpu machine using normal docker.
docker run -it -d --gpus 0 -p 5000:5000 graykode/ai-docstring
Extension activates but then encounters error code 500

Versions (please complete the following information):

  • autoDocstring Version:
  • Operating System:
  • Vscode Version:

Original Code (with line to generate on):

def gaussDeriv2D(sigma):
    # generate on this line
    # Your code to generate Gx and Gy here. use partial dervitive of gaussian equations
    Gy = sigma * 5
    Gx = sigma * 3

    return Gx, Gy

Expected Result:

"""
Docstring generated
"""

Actual Result:
"""AI is creating summary for gaussDeriv2D

Args:
    sigma ([type]): [description]

Returns:
    [type]: [description]
"""

Stack trace:

[INFO 23:26:14.797] Generating Docstring at line: 1
[INFO 23:26:14.797] Docstring generated:
    """${1:AI is creating summary for gaussDeriv2D}

    Args:
        sigma (${2:[type]}): ${3:[description]}

    Returns:
        ${4:[type]}: ${5:[description]}
    """
[INFO 23:26:14.797] Inserting at position: 1 0
[INFO 23:26:14.811] Successfully inserted docstring
[ERROR 23:26:14.837] Error: Request failed with status code 500

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions