Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] When create an agent In _create_agent in agent_builder.py, it shouldn't try HfApi method by default. #2532

Open
heavendai opened this issue Apr 28, 2024 · 1 comment
Labels
0.2 Issues which are related to the pre 0.4 codebase autobuilder Issues related to autobuilder needs-triage

Comments

@heavendai
Copy link

hf_api.model_info(model_name_or_hf_repo)

add code for catching the exception.

except Exception as ex:
    server_id = self.online_server_name

A better way is to define a parameter for _create_agent function to determine whether to use huggingface_hub.

@WaelKarkoub WaelKarkoub added the autobuilder Issues related to autobuilder label Apr 29, 2024
@szwang-seedtech
Copy link

Is there anyone paying attention to this issue?

@rysweet rysweet added 0.2 Issues which are related to the pre 0.4 codebase needs-triage labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.2 Issues which are related to the pre 0.4 codebase autobuilder Issues related to autobuilder needs-triage
Projects
None yet
Development

No branches or pull requests

4 participants