About 774,000 results
Open links in new tab
  1. groq.APIConnectionError: Connection error - Stack Overflow

    Sep 27, 2024 · I am using Langchain and Groq for LLM project but I am getting API connection error, although I imported: import os load_dotenv() and then loaded API as: groq_api_key = …

  2. python - groq.GroqError: The api_key client option must be set either ...

    Feb 9, 2025 · groq.GroqError: The api_key client option must be set either by passing api_key to the client or by setting the GROQ_API_KEY environment variable Asked 10 months ago Modified 10 …

  3. Getting OpenAI API Error While Using Groq API for Python Coding Agent

    Jun 7, 2024 · I am trying to create a Python coding agent using the crewai library along with langchain and ChatGroq. My code is supposed to use the Groq API for language model processing, but I am …

  4. python - How can I accurately count tokens for Llama3/DeepSeek r1 ...

    Feb 2, 2025 · I'm integrating the Groq API in my Flask application to classify social media posts using a model based on DeepSeek r1 (e.g., deepseek-r1-distill-llama-70b). I build a prompt by combining …

  5. Sanity.io GROQ query for array of objects - Stack Overflow

    Jan 26, 2021 · Sanity.io GROQ query for array of objects Asked 4 years, 10 months ago Modified 3 years ago Viewed 9k times

  6. LangChain error: "Groq does not currently support tool_choice='any ...

    Aug 29, 2024 · ValueError: Groq does not currently support tool_choice='any'. Should be one of 'auto', 'none', or the name of the tool to call. When I checked the code of langchain_groq's bind_tools …

  7. failed_generation with Groq LLM and llama index in Python

    Jul 29, 2024 · failed_generation with Groq LLM and llama index in Python Asked 1 year, 4 months ago Modified 1 year, 4 months ago Viewed 3k times

  8. Calling GROK API gives me 401 Unauthorized error

    Feb 8, 2025 · Im trying to run this api call for grok but im getting error what could be the reason for this? Model that I'm using is grok-2, but i tried others and its still same ...

  9. rest - Why does Groq return "tool_use_failed" error when using ...

    Apr 16, 2025 · I'm deploying a Python FastAPI app on Render, and I'm using the instructor library to parse LLM responses into a Pydantic model using Groq's API. Locally, everything works fine, but on …

  10. llama index - Groq - Model name llama3-70b-8192 does not support ...

    May 5, 2024 · Groq - Model name llama3-70b-8192 does not support function calling API Asked 1 year, 7 months ago Modified 1 year, 7 months ago Viewed 1k times