• Stefy Lanza (nextime / spora )'s avatar
    feat: Add tool call parsing for 'tool: {...}' text format · b2aca709
    Stefy Lanza (nextime / spora ) authored
    - Detect 'tool: {...}' pattern in Google model text responses
    - Parse and convert to OpenAI-compatible tool_calls format
    - Extract assistant text from 'assistant: [...]' format if present
    - Handle both 'action' and 'name' fields for tool identification
    - Convert arguments to JSON string for OpenAI compatibility
    
    This fixes issues where models return tool calls as text instead of
    using proper function_call attributes.
    b2aca709
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
AI.PROMPT Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PYPI.md Loading commit data...
README.md Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
main.py Loading commit data...
pyproject.toml Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...
test_google.sh Loading commit data...
test_proxy.sh Loading commit data...