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

[WIP] agent example (w/ sandboxable Tools!) & improved OAI compatibility layer (in Python) #6389

Draft
wants to merge 73 commits into
base: master
Choose a base branch
from

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    0d47c43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d1d46e View commit details
    Browse the repository at this point in the history
  3. server.py: hacky code

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    63d1324 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffc7436 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5d9993 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8afd4de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aa9605c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a406293 View commit details
    Browse the repository at this point in the history
  9. server.py: raise n_predict

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    63a384d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5f3de16 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    59b4114 View commit details
    Browse the repository at this point in the history
  12. server.py: crude reactor

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    253b68d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e874565 View commit details
    Browse the repository at this point in the history
  14. Update agent.py

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    b63f91a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c340e8c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ce2fb01 View commit details
    Browse the repository at this point in the history
  17. agent/openai:nits

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ea34bd3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    80c7930 View commit details
    Browse the repository at this point in the history
  19. Update prompting.py

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    9ab493f View commit details
    Browse the repository at this point in the history
  20. agent: --style

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    e0c8af4 View commit details
    Browse the repository at this point in the history
  21. Create requirements.txt

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    b4e292e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d1d8602 View commit details
    Browse the repository at this point in the history
  23. agent: nits

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    eb9a552 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3da30ed View commit details
    Browse the repository at this point in the history
  25. Delete test.sh

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ff6563a View commit details
    Browse the repository at this point in the history
  26. agent: format still broken

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    dd11bb6 View commit details
    Browse the repository at this point in the history
  27. agent: update readme

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    22b980f View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    61f35e0 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d8a53ea View commit details
    Browse the repository at this point in the history
  30. Update test_chat_handlers.py

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ad2f4c1 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    3c3eff5 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6935503 View commit details
    Browse the repository at this point in the history
  33. Update test_chat_handlers.md

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    d9f30f8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    da2067a View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    09de4eb View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    19811a4 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    22fe86d View commit details
    Browse the repository at this point in the history
  38. Update test_chat_handlers.md

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    6e52a9c View commit details
    Browse the repository at this point in the history
  39. agent: fix response_format

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    701a66d View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    b447a74 View commit details
    Browse the repository at this point in the history
  41. agent: fix sandbox dockerfile

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    85820f4 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    6880f1d View commit details
    Browse the repository at this point in the history
  43. agent: nits

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    0532680 View commit details
    Browse the repository at this point in the history
  44. agent: cache_prompt=True

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    a634e03 View commit details
    Browse the repository at this point in the history
  45. openai: nit

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    9fe269e View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    a61ebeb View commit details
    Browse the repository at this point in the history
  47. agent: nit

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    24e34f1 View commit details
    Browse the repository at this point in the history
  48. agent: fix killing of subprocesses

    subprocesses again
    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    1475b1e View commit details
    Browse the repository at this point in the history
  49. agent: nits

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    6c00378 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    082d54d View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    f9afb04 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    a98f483 View commit details
    Browse the repository at this point in the history
  53. agent: ensure DATA_DIR exists

    skip-checks:true
    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    ea0c31b View commit details
    Browse the repository at this point in the history
  54. agent: mypy type fixes

    mypy examples/agent/__main__.py
    mypy examples/agent/fastify.py
    mypy examples/openai/__main__.py
    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    89dcc06 View commit details
    Browse the repository at this point in the history
  55. agent: fix wait --std-tools

    ochafik committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    0120f7c View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    09c2565 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    00c709e View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    8d503ef View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    b4a00ce View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    7675ac6 View commit details
    Browse the repository at this point in the history
  2. openai: update after merge

    typos
    ochafik committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    312e20b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. server: tool call grammar-constraints

    fix
    ochafik committed May 2, 2024
    Configuration menu
    Copy the full SHA
    ca1a640 View commit details
    Browse the repository at this point in the history
  2. agent: url params

    ochafik committed May 2, 2024
    Configuration menu
    Copy the full SHA
    2b2127c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e41b6ce View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. Configuration menu
    Copy the full SHA
    a1d64cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f5a25f View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. openai: fix merge

    ochafik committed May 21, 2024
    Configuration menu
    Copy the full SHA
    5ea637e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6dadcd2 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    c8458fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a39e6e0 View commit details
    Browse the repository at this point in the history
  3. agent: support OpenAI: --endpoint https://api.openai.com --auth "Bear…

    …er $OPENAI_API_KEY"
    ochafik committed May 22, 2024
    Configuration menu
    Copy the full SHA
    793f4ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1c4aac View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Configuration menu
    Copy the full SHA
    298c098 View commit details
    Browse the repository at this point in the history