forked from NilsJPWerner/autoDocstring
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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, GyExpected 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working