mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fmt
This commit is contained in:
@@ -4,6 +4,7 @@ from json import JSONDecodeError
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
from backend.data.model import APIKeyCredentials
|
||||
|
||||
# This is a wrapper around the requests library that is used to make API requests.
|
||||
from backend.util.request import Requests
|
||||
|
||||
|
||||
@@ -99,7 +99,6 @@ class ExampleBlock(Block):
|
||||
response = client.create_resource(resource_data)
|
||||
return f"API response: {response.get('message', 'Hello, world!')}"
|
||||
|
||||
|
||||
def run(
|
||||
self, input_data: Input, *, credentials: APIKeyCredentials, **kwargs
|
||||
) -> BlockOutput:
|
||||
|
||||
Reference in New Issue
Block a user