honcho/tests
doria a3d98afdfe
Add updated get_context to SDKs (#231)
* feat: add optional JWT and webhook secrets to honcho instance creation

* chore: ignore spurious warnings

* feat: add response format if using gpt-5 model family

* feat: add response models to all apis except anthropic

* fix: raise NotImplementedError for response models in AsyncAnthropic client

* chore: address review

* [WIP] representation structure + deriver cleanup

* chore: add tests, cleanup

* feat: [WIP: semi-working] representation object

* fix: alignment

* fix: make observations hashable for dedup

* fix: datetime formatting, observation counting

* fix: switch to int for message id, clean up representation

* feat: remove need for metadata working rep

* chore: cleanup

* fix: use tenacity instead of custom fns

* feat: add representation and card to context if desired

* feat: add semantically relevant observations

* fix: pass all params to streaming, nonblocking streaming

* feat: consolidate document saving, make working representation fetching much smarter

* chore: add 100% test coverage of representation util

* feat: basic dream infra

* feat: dream queue item first pass

* chore: fixes & cleanup from coderabbit

* fix: dreams scheduled when new document count reaches a certain threshold

* feat: wip: timed dreams (not working)

* fix: test

* fix: remove useless pyright ignore

* fix: executing dreams

* feat: dreaming

* feat: [WIP] longmemeval bench

* feat: add USE_PEER_CARD setting, fix longmem test driver

* feat: get full working rep for dialectic in one swoop -- fix representation_from_documents to use the proper timestamp!

* fix: timestamps for real, handle assistant qs in longmem

* fix: remove old client, add batching to longmem

* perf: remove duplicate detection, will move to background task

* feat: track perf metrics on evals

* feat: adjust deriver prompt to use peer_id, add question date to question, clean up deriver

* fix: label metrics by task for better perf trace

* chore: code review

* feat: add efficiency score to longmem bench

* chore: tuning and cleaning up eval

* chore: bring in the big prompts

* feat: add support for vllm client

* feat: perf: bundle db calls in deriver and dialectic, increase max conns in docker db

* feat: [WIP] realtime context object
note: must download custom stainless API for SDK

* feat: add merge-sessions flag to longmemeval, add SUMMARY_ENABLED flag

* fix: COLLECT_METRICS default false

* chore: display start/end message ids, don't include in metrics

* fix: break large messages apart for eval

* fix: only get/create collection when needed

* feat: properly attribute documents with message id ranges and add session name column to documents

* fix: revert move of get_or_create_collection (need for fkey)

* fix: always get collection with peer name even if it's none

* chore: coderabbit

* fix: bug in get context
feat: get context updates in ts sdk

* feat: viz

* chore: update honcho-ai/core, remove WIPs

* fix: consistent ordering, comment nits, removed excess dreamer init

* fix: test int->str

* fix: Add validation and update async python client

* fix: add validation for last_user_message as well

* fix: add deeper validation to getContext in typescript sdk

* fix: let session context take a Message object for lastUserMessage to match python sdk behavior

* fix: use PeerIdSchema

* fix: allow peer object as argument

* fix: lastUserMessage min length 1

---------

Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
2025-10-09 15:44:21 -04:00
..
bench Add updated get_context to SDKs (#231) 2025-10-09 15:44:21 -04:00
crud create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
deriver Add QueueItem cleanup logic (#228) 2025-10-08 12:44:33 -04:00
dreamer create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
integration create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
routes create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
sdk SDK Changes (#223) 2025-10-01 16:25:30 -04:00
utils create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
__init__.py [0.0.10] Release 2024-07-25 13:45:27 -04:00
conftest.py create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
test_advanced_filters.py Ben/search rrf (#179) 2025-08-06 17:43:03 -04:00
test_datetime_parsing.py create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00
test_llm_mock.py Integrate prometheus into Honcho (#226) 2025-10-08 13:53:48 -04:00
test_schema_validations.py create Representation class and use it to unify all formatting (#214) 2025-10-07 15:28:44 -04:00