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

edge case: segfault occurs at runtime from misconfigured client #1347

Open
Ben-Epstein opened this issue Jan 18, 2025 · 0 comments
Open

edge case: segfault occurs at runtime from misconfigured client #1347

Ben-Epstein opened this issue Jan 18, 2025 · 0 comments
Assignees

Comments

@Ben-Epstein
Copy link
Contributor

Create a client that references itself

client<llm> Model {
  provider fallback
  options {
    strategy [Model]
  }
}

BAML will compile this without issue, but at runtime throw a segfault

BAML should ideally catch this during compilation

@antoniosarosi antoniosarosi self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants