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

feat: Retire openapi3, use openapi-service-client instead #7514

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
Fixes
  • Loading branch information
vblagoje committed May 23, 2024
commit 10eb52a78f69bafb0a43890b47b6e53873306a4a
1 change: 1 addition & 0 deletions haystack/components/converters/openapi_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(self, provider_map: Optional[Dict[str, Any]] = None, default_provid
"anthropic": AnthropicLLMProvider(),
"cohere": CohereLLMProvider(),
}
default_provider = default_provider or "openai"
if default_provider not in self.provider_map:
raise ValueError(f"Default provider {default_provider} not found in provider map.")
self.default_provider = default_provider or "openai"
Expand Down