APIConnectionError: Connection error..
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 603
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use Fara-7B hosted in Azure Foundry.
I have also set the credentials in azure_foundry_config.json
{
"model": "Fara-7B",
"base_url": "https://myendpoint.ml.azure.com/",
"api_key": "myapikey"
}
I am using following command:
fara-cli --task "how many pages does wikipedia have" --endpoint_config endpoint_configs/azure_foundry_config.json --headful
I keep receiving following error:
Retrying fara.fara_agent.FaraAgent._make_model_call in 5.0 seconds as it raised APIConnectionError: Connection error..
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with endpoint_configs/azure_foundry_config.json and the fara-cli invocation, then trace fara.fara_agent.FaraAgent._make_model_call. Reproduce the command and verify the Azure Foundry connection error details; done means the documented Fara-7B configuration completes the request without APIConnectionError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api, cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100