Fix typo's (#2735)

Co-authored-by: lengweiping <lengweiping@vinotar.com>
This commit is contained in:
lengweiping1983
2023-04-21 12:09:17 +08:00
committed by GitHub
parent ec27d5729c
commit 63c2182870
3 changed files with 10 additions and 9 deletions

View File

@@ -22,10 +22,10 @@ def analyze_code(code: str) -> list[str]:
improve the code.
"""
function_string = "def analyze_code(code: str) -> List[str]:"
function_string = "def analyze_code(code: str) -> list[str]:"
args = [code]
description_string = (
"Analyzes the given code and returns a list of suggestions" " for improvements."
"Analyzes the given code and returns a list of suggestions for improvements."
)
return call_ai_function(function_string, args, description_string)