Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump aiohttp from 3.10.10 to 3.10.11 in /backend #80

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiohappyeyeballs==2.4.3
aiohttp==3.10.10
aiohttp==3.10.11
aiosignal==1.3.1
annotated-types==0.7.0
anyio==4.6.0
Expand Down
7 changes: 4 additions & 3 deletions backend/src/services/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ def fill_out_checklist_responder(state):
user_applications = state["user_application_documents"]
checklist = state["checklist"]
retrieval_state = state["retrieval_state"]
documents = retrieval_state.get("documents", []) # Retrieved laws and regulations
# Retrieved laws and regulations
documents = retrieval_state.get("documents", [])

# Combine all application documents into one string
application_text = "\n\n".join(user_applications)
Expand All @@ -233,7 +234,6 @@ def fill_out_checklist_responder(state):
logger.info(f"Checklist: {checklist}")
for idx, checkpoint in enumerate(checklist):
# Extract the checkpoint text from the tuple
# checkpoint_text = checkpoint[idx]
checkpoint: Sjekkpunkt
logger.info(f"Processing checkpoint {idx + 1}")
logger.info(f"Checkpoint: {checkpoint}")
Expand Down Expand Up @@ -368,7 +368,8 @@ def fill_out_checklist_responder(state):
)
logger.info(f"Question for retrieval: {response}")
state["retrieval_state"]["question"] = response
state["retrieval_performed"] = True # Mark that retrieval has been performed
# Mark that retrieval has been performed
state["retrieval_performed"] = True

# Clear the feedback after using it
if "revisor_feedback" in state:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ services:
- "3000:3000"
image: t3-app
environment:
- ARKIVGPT_URL=http://host.docker.internal:80/api # Overrides the URLs set in .env to use host.docker.internal instead of localhost
- ARKIVGPT_URL=http://host.docker.internal:80/api
- PLANPRAT_URL=http://host.docker.internal:8000/plan-prat/
- CADAID_URL=${CADAID_URL}
- DATABASE_URL=${DATABASE_URL}
- NEXTAUTH_URL=${NEXTAUTH_URL}
extra_hosts:
- "host.docker.internal:host-gateway" # Needed to override URLs on Linux
- "host.docker.internal:host-gateway"
api:
platform: "linux/amd64"
build:
Expand Down
Loading