mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-18 16:16:33 +00:00
groq: Add tool calling support (#19971)
**Description:** Add with_structured_output to groq chat models **Issue:** **Dependencies:** N/A **Twitter handle:** N/A
This commit is contained in:
@@ -16,7 +16,8 @@ from langchain_core.messages import (
|
||||
|
||||
from langchain_groq.chat_models import ChatGroq, _convert_dict_to_message
|
||||
|
||||
os.environ["GROQ_API_KEY"] = "fake-key"
|
||||
if "GROQ_API_KEY" not in os.environ:
|
||||
os.environ["GROQ_API_KEY"] = "fake-key"
|
||||
|
||||
|
||||
def test_groq_model_param() -> None:
|
||||
|
Reference in New Issue
Block a user