microsoft / microsoft/fara

APIConnectionError: Connection error..

Open
#42 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.