mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Update signatures, disable providers
This commit is contained in:
@@ -85,12 +85,12 @@ async def get_blocks(
|
||||
providers=[],
|
||||
pagination=server_model.Pagination.empty(),
|
||||
)
|
||||
if "providers" in options.filter:
|
||||
providers = builder_db.get_providers(
|
||||
query=options.search_query or "",
|
||||
page=options.page,
|
||||
page_size=options.page_size,
|
||||
)
|
||||
# if "providers" in options.filter:
|
||||
# providers = builder_db.get_providers(
|
||||
# query=options.search_query or "",
|
||||
# page=options.page,
|
||||
# page_size=options.page_size,
|
||||
# )
|
||||
|
||||
# Library Agents
|
||||
my_agents = library_model.LibraryAgentResponse(
|
||||
|
||||
@@ -19,6 +19,7 @@ import type {
|
||||
CredentialsDeleteResponse,
|
||||
CredentialsMetaInput,
|
||||
CredentialsMetaResponse,
|
||||
CredentialsProviderName,
|
||||
Graph,
|
||||
GraphCreatable,
|
||||
GraphExecution,
|
||||
@@ -208,7 +209,8 @@ export default class BackendAPI {
|
||||
|
||||
getBuilderBlocks(options: {
|
||||
search_query?: string;
|
||||
filter?: Omit<DefaultStateType, "suggestions">[];
|
||||
filter?: Omit<DefaultStateType | "providers", "suggestions">[];
|
||||
providers?: CredentialsProviderName[];
|
||||
by_creator?: string[];
|
||||
search_id?: string;
|
||||
page?: number;
|
||||
|
||||
Reference in New Issue
Block a user