mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
unify annotations to future syntax
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"""Code evaluation module."""
|
||||
from typing import List
|
||||
from __future__ import annotations
|
||||
|
||||
from autogpt.llm_utils import call_ai_function
|
||||
|
||||
|
||||
def evaluate_code(code: str) -> List[str]:
|
||||
def evaluate_code(code: str) -> list[str]:
|
||||
"""
|
||||
A function that takes in a string and returns a response from create chat
|
||||
completion api call.
|
||||
|
||||
Reference in New Issue
Block a user