ArchFC endpoint integration (#94)

* integration

* mopdify docker file

* add params and fix python lint

* fix empty context and tool calls

* address comments

* revert port

* fix bug merge

* fix environment

* fix bug

* fix compose

* fix merge
This commit is contained in:
Co Tran 2024-10-01 12:47:26 -07:00 committed by GitHub
parent 1a7c1ad0a5
commit 17a643c410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 98 additions and 41 deletions

View file

@ -89,7 +89,9 @@ class BoltHandler:
if isinstance(tool_call, dict):
try:
if not executable:
extracted_tools.append({tool_call["name"]: tool_call["arguments"]})
extracted_tools.append(
{tool_call["name"]: tool_call["arguments"]}
)
else:
name, arguments = (
tool_call.get("name", ""),