Spaces:
Sleeping
Sleeping
| from groq import Groq | |
| def Agent(wallet,user): | |
| client = Groq("") | |
| completion = client.chat.completions.create( | |
| model="llama-3.1-8b-instant", | |
| messages=[ | |
| { | |
| "role": "system", | |
| "content": "" | |
| }, | |
| { | |
| "role": "user", | |
| "content": user | |
| } | |
| ], | |
| temperature=1, | |
| max_completion_tokens=8192, | |
| top_p=1, | |
| reasoning_effort="medium", | |
| stream=False, | |
| stop=None | |
| ) | |