Spaces:
Sleeping
Sleeping
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -48,7 +48,7 @@ class AgentState(TypedDict):
|
|
| 48 |
|
| 49 |
async def generate(prompt, temperature=0.2, model="gemma3:12b-it-qat"):
|
| 50 |
"""Generate response using your deployed Ollama API."""
|
| 51 |
-
url = "https://
|
| 52 |
|
| 53 |
headers = {
|
| 54 |
"Content-Type": "application/json",
|
|
|
|
| 48 |
|
| 49 |
async def generate(prompt, temperature=0.2, model="gemma3:12b-it-qat"):
|
| 50 |
"""Generate response using your deployed Ollama API."""
|
| 51 |
+
url = "https://janarthanan-gnanamurthy--ollama-server2-ollamaserver-serve.modal.run/v1/chat/completions"
|
| 52 |
|
| 53 |
headers = {
|
| 54 |
"Content-Type": "application/json",
|