microsoft / microsoft/foundry-dev-tools

Custom Models cannot be used as evaluator.

Open
#236 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
2.1k
Forks
260
Avg merge
42m
Merged PRs (30d)
29

Description

Add custom model with url/v1/chat/completions may cause API error when it is used in evaluator.
Here is the error msg:
2025-07-07 22:46:00 +0800 6388 execution ERROR 5/5 flow run failed, indexes: [0,1,2,3,4], exception of index 0: Execution failure in 'router_eval_2.call': (WrappedOpenAIError) OpenAI API hits NotFoundError:

How to use custom model as evaluator without internet access?

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 at the evaluator call path named router_eval_2.__call__ and reproduce the failure using the custom model URL ending in /v1/chat/completions without internet access. Trace why the evaluator receives a NotFoundError, and consider the issue done when a custom endpoint can run as an evaluator offline without that API error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ai, api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.