mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-25 04:40:06 +00:00
all: test 3.13 ci (#27197)
Co-authored-by: Bagatur <baskaryan@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
@@ -97,8 +97,8 @@ class GooseAI(LLM):
|
||||
import openai
|
||||
|
||||
openai.api_key = gooseai_api_key.get_secret_value()
|
||||
openai.api_base = "https://api.goose.ai/v1"
|
||||
values["client"] = openai.Completion
|
||||
openai.api_base = "https://api.goose.ai/v1" # type: ignore[attr-defined]
|
||||
values["client"] = openai.Completion # type: ignore[attr-defined]
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"Could not import openai python package. "
|
||||
|
Reference in New Issue
Block a user