Skip to content

[bug] Collector: when using fallback strategy with 2 clients , and if one of the call is failed, the selected_call will be populated with failed call. #2441

@cwang-otto

Description

@cwang-otto

Product

BAML

Describe the bug

looks like if i use fallback strategy with 2 clients , and if one of the call is failed, the selected_call will be populated with failed call. is it expected? i am on 0.205.0

Image Image

Reproduction Steps

  1. create a client with fallback
  2. mark one client call failure (maybe by passing wrong key) and one success
  3. check the collector

BAML Version

0.205.0

Language/Framework

Python

LLM Provider

OpenAI

LLM Model

No response

Operating System

None

Browser

None

Code Editor

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed by the BAML teamcustomer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions