ናብ ትሕዝቶ ዝለል
CrewAI

ውልቃውያንን ብርእሶም ዝሰርሑን agents

CrewAI ምስ Shannon ተጠቐም

CrewAI LLM ምስ ቅድመ-ቃል openai/ ከምኡውን base_url Shannon ፍጠር፤ agents፣ ዕዮታት ከምኡውን ጉጅለታት ሽዑ ኣብ ሞዴላት Shannon ይሰርሑ።

  • ዝተፈተነ 7 ሕዳ 2026
  • OpenAI Chat Completions
  • ኣስታት 3 ደቒቕ

ብዛዕባ CrewAI

CrewAI Python framework እዩ agents ምስ ሓላፍነታት፣ ዕላማታትን tools ከም ጉጅለ ወይ ኣብ ውሽጢ flows ብፍጻሜ ዝመርሑ ዕዮታት ዝሰርሑሉ። ክላስ LLM ናቱ ብ LiteLLM ይሓልፍ፣ ስለዚ base URL OpenAI-compatible ጥራይ ጉጅለታት ኣብ ሞዴላት Shannon ንምስራሕ ይኣክል።

እንታይ የድልየካ

ናይ Shannon API ቁልፊ
ቁልፍታትን ኣጠቓቕማን
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
ኩሎም ኣብ ታሕቲ ዘለዉ ቁራጻት ኮድ ምርጫኻ ይስዕቡ።

ኣዳልዎ

  1. CrewAI ጸዓን

    Shell
    pip install crewai
  2. LLM ፍጠር

    እቲ ቅድመ-ቃል openai/ መንገዲ OpenAI-compatible ይመርጽ። context_window_size ሃብ፦ ንids CrewAI ዘይፈልጦም፣ ብኻልእ 8,192 tokens ይገምት።

    Python
    from crewai import LLM
    
    llm = LLM(
        model="openai/Kimi-K3-uncensored-NVFP4",
        base_url="https://api.shannon-ai.com/v1",
        api_key="YOUR_API_KEY",
        context_window_size=1022976,
    )
    print(llm.call("Name three colours a cat can be."))
  3. ጉጅለ ምስ tool ኣሂዝ

    Python
    from crewai import Agent, Task, Crew
    from crewai.tools import tool
    
    @tool("get_weather")
    def get_weather(city: str) -> str:
        """Weather for a city."""
        return f"Sunny, 18 C in {city}"
    
    reporter = Agent(role="Weather reporter", goal="Report the weather", backstory="You check the weather tool.",
                     llm=llm, tools=[get_weather], max_iter=3)
    task = Task(description="What is the weather in Oslo? Use the tool.", expected_output="One sentence.", agent=reporter)
    print(Crew(agents=[reporter], tasks=[task]).kickoff())

ከም ዝሰርሕ ኣረጋግጽ

ልኣኽ: ነቲ ኣብነት ጉጅለ ኣሂዞ።

ክትርኢ ዘለካ: ሓንቲ ሓሳብ ምስ ኩነታት ኣየር Oslo ካብ tool።

ምስ CrewAI ዝሰማምዑ ሞዴላት

ነፍሲ ወከፍ ኣብ ታሕቲ ዘሎ id ነቲ CrewAI ዘድልዮ የማልእ። እቲ ቀዳማይ ኣብ ቁራጻት ኮድ ነባሪ እዩ።

ሞዴል idcontext መስኮትዝለዓለ outputስእሊ ኣተዋዕዎ
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 እወ
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 እወ
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 እወ
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 እወ
shannon-3 196,608 65,536 እወ

ቅጥዒታት ሞዴል

CrewAI ነዞም ዋጋታት ይሓትት። ብመሰረት ዝመረጽካዮ ሞዴል ይቕየሩ።

ቅጥዒዋጋስለምንታይ
context_window_size 1022976 ብዘይ እዚ CrewAI ንዘይፍለጡ ids 8,192 ይገምት።

ክትፈልጦ ዘለካ

  • ብዘይ context_window_size፣ CrewAI window ዘይፍለጥ ምዃኑ የጠንቅቕ ከምኡውን 8,192 tokens (6,963 ዝጥቀሙ) ይገምት፣ ስለዚ ነዊሓት ዕዮታት ቅልጡፍ ይቑረጹ።
  • ንነፍሲ ወከፍ agent llm= ሃቦ፤ agent ብዘይ ሓደ ነባሪ ሞዴል OpenAI ናይ CrewAI ይጥቀም ከምኡውን ቁልፊ OpenAI የድልዮ።
  • ጉጅለታት ምስ ምውጻእ ወይ ዝኽሪ ተወሳኺ ጠለባት ይልእኹ፤ ዝኽሪ embedder እውን የድልዮ፣ እቲ Shannon ኣየገልግሎን።

ምኽርታት

  1. max_iter ሓደ agent ንሓደ ዕዮ ክወስዶ ዝኽእል ስጉምታት ይገድብ።
  2. CREWAI_TRACING_ENABLED=false ሩጫታት ናብ service ናይ CrewAI ከይትሕዙ የቑርጾም።
  3. ንነፍሲ ወከፍ id Shannon ሓደ ነገር LLM ተጠቐም ከምኡውን ዝተፈላለዩ ንዝተፈላለዩ agents ሃቦም።

ጸገማት ምፍታሕ

ምልክትምክንያትፍታሕ
LLM Provider NOT provided እቲ id ናይ ሞዴል ቅድመ-ቃል openai/ የብሉን። ከም openai/<id> ጸሓፍ።
401 OpenAI ዝጠቅስ ሓደ agent ወይ እቲ planner llm የብሉን ከምኡውን ነባሪ ይጥቀም። llm= ኣብ ኩሉ ቦታ ሃብ፣ planning_llm ሓዊሱ።
401 Unauthorized እቲ ቁልፊ የለን፣ ብጌጋ ተጻሒፉ ወይ ተቐይሩ። ቁልፊ ካብ ቁልፍታትን ኣጠቓቕማን ደጊምካ ቀዲሕ፤ ብ sk- ይጅምር።
context_length_exceeded ወይ "prompt is too long" ዝብል መልእኽቲ እቲ ዘተ ካብ context window ናይቲ ሞዴል ይነውሕ። ሓድሽ chat ጀምር፣ ነቲ መሳለጥያ ከጥርኖ ፍቐደሉ፣ ወይ ዝዓበየ window ዘለዎ ሞዴል ምረጽ።
insufficient_quota ሚዛንካ ነዚ ጠለብ ንምኽፋል ኣይኣክልን። credit ምላእ ወይ ፕላን ቀይር፤ እቲ ጠለብ ባዕሉ ደጊሙ ኣይፍተንን።

ሕቶታት

CrewAI ምስ Shannon ይሰርሕ ዶ?

እወ፣ ብ LLM(model="openai/<id>", base_url="https://api.shannon-ai.com/v1")።

Tools ናይ CrewAI ይሰርሑ ዶ?

እወ፤ ጉጅለ agent ናቱ tool ዝጽውዕ ኣሰሪሕናዮ።

ቋንቋኻ ምረጽ

ኩሎም ቋንቋታት እኩላት እዮም። እቲ ትደሊ ቋንቋ ምረጽ።

ኤውሮጳ

ማእከላይ ምብራቕን ሰሜን ኣፍሪቃን

ደቡብ ኤስያ

ደቡብ ምብራቕ ኤስያ

ምብራቕ ኤስያ

ማእከላይ ኤስያን ካውካሰስን

ኣፍሪቃ

ኦሽያኒያ

ሰራሕቲን ጥንታውያንን