{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":756398654,"defaultBranch":"alpha","name":"aitino","ownerLogin":"Futino","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-12T15:37:44.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/120509511?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1717347318.0","currentOid":""},"activityList":{"items":[{"before":"38037f799d03ce9cb037978ffaa10762b0b9340b","after":"ecd8bd1800bc52e9b3c660ca75d9c0af9d364110","ref":"refs/heads/feature/arxiv_auto","pushedAt":"2024-06-03T11:06:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"renaming project, fixed rest wrong model bug, worked on email module and arxiv scrapping done","shortMessageHtmlLink":"renaming project, fixed rest wrong model bug, worked on email module …"}},{"before":"a85601f84ee6dd330f7dcdfe538936a8e7442c1d","after":"38037f799d03ce9cb037978ffaa10762b0b9340b","ref":"refs/heads/feature/arxiv_auto","pushedAt":"2024-06-02T18:11:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"arxiv scrapping and caching","shortMessageHtmlLink":"arxiv scrapping and caching"}},{"before":null,"after":"a85601f84ee6dd330f7dcdfe538936a8e7442c1d","ref":"refs/heads/feature/arxiv_auto","pushedAt":"2024-06-02T16:55:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"adding rest/web to this repo and creating research_automation project","shortMessageHtmlLink":"adding rest/web to this repo and creating research_automation project"}},{"before":"feaf7fbb6a34abdd746ec8ae0638c3726860aa50","after":null,"ref":"refs/heads/feature/finetuning-rest","pushedAt":"2024-05-16T13:13:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"}},{"before":"16b4bf92e94c94908bd7a11eedd1334581288041","after":"c71da8fc2ac721184f09efdf64842be69940d8e5","ref":"refs/heads/alpha","pushedAt":"2024-05-16T13:13:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"Finetuning rest (#264)\n\n* finetuning commenting prompt\r\n\r\n* fine tuning the bot and adding uniqueness checking in db.py\r\n\r\n* fixing submissions and leads not getting submitted to db\r\n\r\n* fixed db checking for existing leads\r\n\r\n* nix shell removing poetry\r\n\r\n* convert rest to using new organizational fastapi structure\r\n\r\n* whops forgor router\r\n\r\n* adding option for adding instructions to generate comment and improving promptws\r\n\r\n* Move api keys to own router, add small fixups and error handling (#194)\r\n\r\n* Add more tools (#195)\r\n\r\n* add brave search\r\n\r\n* add stackapi tool\r\n\r\n* Add subscription endpoints (#196)\r\n\r\n* subscriptions\r\n\r\n* subscriptions endpoint\r\n\r\n* Fix the types of session and message models for the openapi code generator (#197)\r\n\r\n* fix the type on session\r\n\r\n* fix type on message\r\n\r\n* fix warning from edge class\r\n\r\n* clean up, also fix message model\r\n\r\n* Gitignore cache and change api keys path to kebabcase (#199)\r\n\r\n* Add billing endpoints (#198)\r\n\r\n* Add billing endpoints\r\n\r\n* Gitignore cache and change api keys path to kebabcase (#199)\r\n\r\n* comment fixes\r\n\r\n* change get request for billing info to use path param\r\n\r\n---------\r\n\r\nCo-authored-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\nCo-authored-by: Leon Lam Nilsson \r\n\r\n* Fix error output on inputting session (#202)\r\n\r\n* Fix error handling on sessions (#203)\r\n\r\n* fix error output on inputting session\r\n\r\n* fix more error handling in running crew\r\n\r\n* delete session if crew run errors\r\n\r\nso we don't create sessions with no messages\r\n\r\n* Add tiers endpoints (#200)\r\n\r\n* add tiers endpoint\r\n\r\n* fixing up tier endpoints\r\n\r\n* tiers changes\r\n\r\n* tier change testing\r\n\r\n* changes tier endpoint and def\r\n\r\n* def get_tier change\r\n\r\n* fixed response\r\n\r\n---------\r\n\r\nSigned-off-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\nCo-authored-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\n\r\n* Add one parenthesis (plus some empty lines) (#204)\r\n\r\n* Fix code smell complaints (#205)\r\n\r\n* Add tool endpoints (#201)\r\n\r\n* add tools (untested)\r\n\r\n* change api key types endpoint name to kebab case\r\n\r\n* add error handling on delete tool\r\n\r\n---------\r\n\r\nSigned-off-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\n\r\n* Fix sonarcloud issues (#206)\r\n\r\nfixed the issues in the code i wrote\r\n\r\n* Format and fix typing (#207)\r\n\r\n* format\r\n\r\n* fixup on typing\r\n\r\n* Add prompt type and fix typing of edges (#209)\r\n\r\n* Mostly implement OpenAPI fetch (#208)\r\n\r\n* remove past gen folder\r\n\r\n* packages\r\n\r\n* tsconfig\r\n\r\n* remove client\r\n\r\n* remove api.ts\r\n\r\n* create client\r\n\r\n* api things\r\n\r\n* sessions working like before with new system\r\n\r\n* update more from sessions to be using new system, SessionNavigator is working again\r\n\r\n* convert more to new system\r\n\r\n* update api types\r\n\r\n* work on converting crews to use api\r\n\r\n* update api types\r\n\r\n* work on converting crews\r\n\r\n* crews working I think\r\n\r\n* prep for tomorrow\r\n\r\n* partially convert api keys to new system\r\n\r\n* ts\r\n\r\n* correct type\r\n\r\n* validate session in hook\r\n\r\n* uncomment thing I'm gonna work on\r\n\r\n* api keys working I think\r\n\r\n* update api schema\r\n\r\n* work on converting sessions to using new system\r\n\r\n* fixup api interactions with new api schema\r\n\r\n* api keys kebab case\r\n\r\n* get api keys working again again and work on sessions\r\n\r\n* update api schema\r\n\r\n* working on crews\r\n\r\n* delete blog\r\n\r\n* finalize delete blog\r\n\r\n* work on crew\r\n\r\n* update api types\r\n\r\n* crews page is running at least now\r\n\r\n* remove unused var\r\n\r\n* fix sonarcloud issue\r\n\r\n* format\r\n\r\n* ignore generated file from prettier\r\n\r\n* please stop crying sonarcloud\r\n\r\n* Add new agent model implementation (#210)\r\n\r\n* add new agent model implementation\r\n\r\n* change base_model\r\n\r\n* Bump the pip group across 2 directories with 1 update (#211)\r\n\r\nBumps the pip group with 1 update in the /apps/api directory: [aiohttp](https://github.com/aio-libs/aiohttp).\r\nBumps the pip group with 1 update in the /apps/rest/api directory: [aiohttp](https://github.com/aio-libs/aiohttp).\r\n\r\nUpdates `aiohttp` from 3.9.3 to 3.9.4\r\n- [Release notes](https://github.com/aio-libs/aiohttp/releases)\r\n- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)\r\n- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)\r\n\r\nUpdates `aiohttp` from 3.9.3 to 3.9.4\r\n- [Release notes](https://github.com/aio-libs/aiohttp/releases)\r\n- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)\r\n- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: aiohttp\r\n dependency-type: direct:production\r\n dependency-group: pip\r\n- dependency-name: aiohttp\r\n dependency-type: direct:production\r\n dependency-group: pip\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\n\r\n* Add validate crews endpoint (#212)\r\n\r\n* validate crews endpoint\r\n\r\n* process crew\r\n\r\n* Change path params to id and fixup validation (#213)\r\n\r\n* add semi working updating agent and crew relation\r\n\r\nidk why but sometimes the supabase requests seem to time out and it\r\ndoesnt finish the patch request\r\n\r\n* change path params to \"id\"\r\n\r\n* fixup validation\r\n\r\n* Add endpoint for getting all models (#214)\r\n\r\n* add endpoint for getting all models\r\n\r\n* add return type to db function\r\n\r\n* Agent and Crew Library (#215)\r\n\r\n* crews before the edges nuke\r\n\r\n* working on crews\r\n\r\n* update endpoints\r\n\r\n* update types again\r\n\r\n* work on crews and agents page\r\n\r\n* api endpoints\r\n\r\n* agent editor working?\r\n\r\n* update packages\r\n\r\n* try to get agents/ and crews/ pages to follow same methology\r\n\r\n* update packages\r\n\r\n* creating crews and forms working much better\r\n\r\n* update agents page to use shadcn form for creation\r\n\r\n* update textarea\r\n\r\n* work on agent creation\r\n\r\n* crew agent creation and personal library\r\n\r\n* implement deletion of agents and crews\r\n\r\n* library component\r\n\r\n* openinng crews is working\r\n\r\n* Crews mostly working + some agent stuff W.I.P (#216)\r\n\r\n* work on nodes\r\n\r\n* cool agent node\r\n\r\n* work on crew editor\r\n\r\n* it's erroring because it's trying to add the agent twice somewhere I think\r\n\r\n* crews page functional!\r\n\r\n* feature warning and crew redirect\r\n\r\n* work on agent creation and updating\r\n\r\n* Fixup API Agent (#217)\r\n\r\n* Change/update agent models, removed models endpoint (#218)\r\n\r\n* Fix up the crew models to follow db changes (#219)\r\n\r\n* fixup crew models\r\n\r\n* remove getting agents by crew id\r\n\r\n* replace \"nodes\" with \"agents\", fixup agent model\r\n\r\nalso made receiver_id nullable, since it is in the database, might\r\nchange later\r\n\r\n* comment out receiver id validation in validate_crew\r\n\r\n* regret last commit lol, also remove random import\r\n\r\n* Add new fields and rename fields in mock (#220)\r\n\r\n* Change api key types to provider (#221)\r\n\r\n* file changes\r\n\r\n* Fix up the crew models to follow db changes (#219)\r\n\r\n* fixup crew models\r\n\r\n* remove getting agents by crew id\r\n\r\n* replace \"nodes\" with \"agents\", fixup agent model\r\n\r\nalso made receiver_id nullable, since it is in the database, might\r\nchange later\r\n\r\n* comment out receiver id validation in validate_crew\r\n\r\n* regret last commit lol, also remove random import\r\n\r\n* Add new fields and rename fields in mock (#220)\r\n\r\n* even more file changes\r\n\r\n* changes\r\n\r\n* api_keys\r\n\r\n* api key id\r\n\r\n* fix small bugs in db functions\r\n\r\n* change a logger message\r\n\r\n---------\r\n\r\nCo-authored-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\nCo-authored-by: Leon Lam Nilsson \r\n\r\n* Change api key type to api provider in tool models and endpoints (also update packages) (#222)\r\n\r\n* change back tools to old typing\r\n\r\nnew typing didn't work for giving tools to agents\r\n\r\n* temp commit\r\n\r\n* remove logger things, change some comments\r\n\r\n* Agent Web CRUD Implemented (#223)\r\n\r\n* update api endpoints\r\n\r\n* conform to new api endpoints\r\n\r\n* update api types\r\n\r\n* remove unused imports\r\n\r\n* agent editor work\r\n\r\n* new types\r\n\r\n* remove crew_ids\r\n\r\n* api type updates\r\n\r\n* api_key_type -> api_provider\r\n\r\n* convert to error properly and crew.nodes -> crew.agents\r\n\r\n* agent editor\r\n\r\n* Last Crews and Agents before sessions (#224)\r\n\r\n* Fix bug with empty tool list (#225)\r\n\r\n* Change how description is given to agent (#226)\r\n\r\nalso properly deletes session on error\r\n\r\n* loading sessions working (#227)\r\n\r\n* Add logging config file, change file structure (#228)\r\n\r\nalso run the uvicorn server now by running the __init__.py file!! \r\nex. `poetry run python src/__init__.py` (if you are in the apps/api directory)\r\n\r\n* Default agent list on creating crew (#229)\r\n\r\n* \"Fix\" tools in mock (#230)\r\n\r\nThe issue seemed to be that agents can't \"suggest\" calls anymore, so I just told it to use a tool and it started working again lol\r\nBut it seems agents are just worse at calling tools now (either because of new gpt or something changed in openai), so I'm considering adding something that encourages all agents with tools to call them by changing their prompt. I could also ignore it and let the user creating crews and agents encourage tool usage in the prompts\r\n\r\n* Mount subapi onto the fastapi app (#232)\r\n\r\n* subapi added\r\n\r\n* Fix bug with empty tool list (#225)\r\n\r\n* adding daniel as subapp\r\n\r\n* fixup and add leon\r\n\r\n* pain\r\n\r\n* sandbox\r\n\r\n* redirect to docs\r\n\r\n---------\r\n\r\nCo-authored-by: Daniel Aanensen \r\n\r\n* Add lib folder (#233)\r\n\r\n* lib folder\r\n\r\n* add lib\r\n\r\n* Formatting, removing unused imports, fix imports with new lib directory (#234)\r\n\r\n* format and remove unused imports\r\n\r\n* change imports from files in lib directory\r\n\r\n* Sessions working completely! (but not too well 😓) (#235)\r\n\r\n* loading sessions working\r\n\r\n* sessions working somewhat\r\n\r\n* update endpoints\r\n\r\n* remove unused func\r\n\r\n* fixup prompt save\r\n\r\n* supabase subscribe\r\n\r\n* realtime and replies somewhat working\r\n\r\n* replies working in a very scuffed way\r\n\r\n* Add funding system for running crews (#236)\r\n\r\n* add funding to profile model and default funding on insert\r\n\r\n* add calculate cost method\r\n\r\nfor some reason the chathistory object's cost doesn't update (might be\r\nbecause of group chat) so i try to calculate the cost myself, not sure\r\nhow to calculate the input tokens though...\r\n\r\n* add funding updating on finishing a crew run\r\n\r\n* add env variable for accuracy\r\n\r\n* add auto back for speaker selection, seems to be working\r\n\r\n* gitignore tmp folder again lol\r\n\r\n* format\r\n\r\n* Auth Fixup (#237)\r\n\r\n* Fixup Authentication\r\n\r\n* trying to fixup lucide error\r\n\r\n* Hotfix Broken Package Lucide (#238)\r\n\r\n* Fix Crew editing, authentication, openapi types, and some more (#240)\r\n\r\n* update api types\r\n\r\n* Hotfix Agent Editor\r\n\r\n* auto signin and bugfixes\r\n\r\n* auth, marketing, zod\r\n\r\n* trying to fixup crew saving and adding agents\r\n\r\n* editing crews fixed\r\n\r\n* Add stopping crew runs when the given profile has no funds (#241)\r\n\r\n* raise error when less than 0 funds on profile\r\n\r\n* change profile not found error\r\n\r\n* Add slightly working rag agents, seemingly fixed sessions stopping unexpectedly (#242)\r\n\r\n* add example groupchat with RAG\r\n\r\ntest version copied from autogen blog\r\n\r\n* add gpt-4-turbo model\r\n\r\n* add rag test endpoint to my sandbox endpoints\r\n\r\n* remove random unused imports\r\n\r\n* add test rag class to crew\r\n\r\n* start of rag implementation, errors atm\r\n\r\nwhen trying to use the register_for_llm decorator on the\r\nretrieve_content method it breaks, the decorator doesn't seem to work\r\nwith that method for some reason. it can't find a \"_name\" attribute\r\n\r\n* add mega primitive implementation of rag\r\n\r\nits super scuffed rn bewary before reading\r\n\r\n* move rag.py to lib\r\n\r\n* gitignore and delete tmp folder\r\n\r\n* format (and make task on rag options nullable)\r\n\r\n* format again lol\r\n\r\n* make retrieve_content a method\r\n\r\n* chat result tests\r\n\r\n* poetry\r\n\r\n* change to using the passed rag options\r\n\r\nalso removed the extra 0.01 cost when adding cost margin\r\n\r\n* make RagOptions nullable\r\n\r\nit is being defaulted in the sessions/run endpoint atm\r\n\r\n* format\r\n\r\n* ignore rag user proxy if use_rag is false (when rag_options is None)\r\n\r\n* fixups on bugs etc\r\n\r\n* merge didnt work for some reason\r\n\r\n* got decently working rag and fixed sessions stopping randomly\r\n\r\n* refactor: remove commented code\r\n\r\nThis commit removes large blocks of commented code from the files'apps/api/src/lib/rag.py' and 'apps/api/src/routers/sandbox/leon.py'.It also rearranges the import statements in 'apps/api/src/lib/crew.py'.This cleanup improves readability and maintainability of the codebase.\r\n\r\n* refactor: remove unused function registration\r\n\r\nThis commit removes the unused function registration in the file\r\n'apps/api/src/routers/sandbox/leon.py'. The function 'function_moment'\r\nwas registered but never used. This change improves the clarity of the\r\ncode and reduces potential confusion.\r\n\r\n* Add new cost calculation that uses agent costs properly (#243)\r\n\r\n* feat: Update authentication and session handling (#244)\r\n\r\n- Update authentication methods to include user profile data\r\n- Modify session handling to include user profile data\r\n- Add new API endpoints for user profile retrieval and creation\r\n- Remove old authentication pages and replace with a unified authentication page\r\n- Update navigation links to point to new authentication page\r\n- Add user funding information to the side navigation\r\n- Add message deduplication in session page\r\n- Fix various type errors and misnamed variables\"\r\n\r\n* feat: Update dependencies and improve authentication flow (#245)\r\n\r\n* feat(SideNav): simplify logout button implementation\r\n\r\nThe logout button in the SideNav component has been simplified. The\r\nprevious implementation used a dynamic list for the bottom navigation,\r\nwhich was overkill for a single static button. The new implementation\r\ndirectly includes the logout button in the markup. This makes the code\r\neasier to understand and maintain.\r\n\r\n* work on fixing up supabase stuff again\r\n\r\n* I really dislike poetry\r\n\r\n* authentication is working!\r\n\r\n* feat(auth): Change auth redirect and remove callback\r\n\r\nThis commit changes the redirect URL after authentication from\r\n'auth/callback' to 'app'. The 'auth/callback' route is removed as it's\r\nno longer needed. The logout process is simplified by removing error\r\nhandling. The 'code' query parameter is now checked in the layout\r\nserver route, and if present, it's used to exchange for a session.\r\nThe user data check in the layout component is removed.\r\n\r\n* Bump tqdm in /apps/api in the pip group across 1 directory (#246)\r\n\r\nBumps the pip group with 1 update in the /apps/api directory: [tqdm](https://github.com/tqdm/tqdm).\r\n\r\n\r\nUpdates `tqdm` from 4.66.2 to 4.66.3\r\n- [Release notes](https://github.com/tqdm/tqdm/releases)\r\n- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.3)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: tqdm\r\n dependency-type: indirect\r\n dependency-group: pip\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\n\r\n* Bump the pip group across 2 directories with 1 update (#247)\r\n\r\nBumps the pip group with 1 update in the /apps/api directory: [tqdm](https://github.com/tqdm/tqdm).\r\nBumps the pip group with 1 update in the /apps/rest/api directory: [tqdm](https://github.com/tqdm/tqdm).\r\n\r\nUpdates `tqdm` from 4.66.3 to 4.66.4\r\n- [Release notes](https://github.com/tqdm/tqdm/releases)\r\n- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.3...v4.66.4)\r\n\r\nUpdates `tqdm` from 4.66.2 to 4.66.3\r\n- [Release notes](https://github.com/tqdm/tqdm/releases)\r\n- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.3...v4.66.4)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: tqdm\r\n dependency-type: indirect\r\n dependency-group: pip\r\n- dependency-name: tqdm\r\n dependency-type: indirect\r\n dependency-group: pip\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\n\r\n* feat: Use environment variable for redirect url (#248)\r\n\r\n* fix: finalize the crew editor for first launch and add email to profile page (#249)\r\n\r\n* feat: display user email in Profile title\r\n\r\nThe user's email is now displayed in the Profile title on the account\r\npage. This change enhances user experience by providing a more\r\npersonalized interface and helps in identifying the active account.\r\n\r\n* feat: streamline agent addition and prompt editing\r\n\r\nThis commit reworks the agent addition process and prompt editing\r\nin the crew panel. It fixes issues with adding agents to the crew.\r\nThe prompt node has been removed and replaced with a prompt editor\r\nin the crew panel.\r\n\r\n* fix: remove duplicate Tabs.Content tag in account page\r\n\r\nThis commit removes a duplicate Tabs.Content tag in the account page\r\nsvelte component. This was causing unnecessary nesting and potential\r\nlayout issues. The fix ensures proper rendering of the account page.\r\n\r\n* fix: agent creation and editor (#250)\r\n\r\n* fix: agent creation\r\n\r\n* fix: agent banner color\r\n\r\n* fix: add error handling for crew saving operation (#251)\r\n\r\nThis commit adds error handling for the crew saving operation in the\r\nCrewPanel component. In case of an error, it logs the error to the\r\nconsole and displays an error message to the user. This ensures that\r\nfailures in saving a crew are properly communicated to the user and\r\ndevelopers.\r\n\r\n* feat(api): use PORT from environment variables (#252)\r\n\r\nThe application now tries to get the PORT from the environment variables.\r\nIf it's not found, it logs an info message and uses the default PORT=80.\r\nIf the PORT is not an integer, it raises a ValueError.\r\n\r\n* Change formatter to not use poetry (#253)\r\n\r\n* change formatter from using poetry\r\n\r\n* format\r\n\r\n* fix: set moch receiver_id as it's faultily required by api (#254)\r\n\r\nSet the receiver_id to 000...000 because it's required by the api.\r\n\r\n* Fixup prompt improver, add funding dependency (#255)\r\n\r\n* feat(improver): add cost calculation and logging\r\n\r\nThis commit introduces cost calculation and logging to the\r\n`improve_prompt` function. It also modifies the function to\r\nretrieve the profile from the database and update the funding\r\nafter the cost calculation. The function now raises an HTTP\r\nexception if the profile is not found or if the result object\r\nfrom OpenAI is unusual. The `improve` route in the router has\r\nbeen changed from a GET to a POST method and now uses the\r\n`ImproveInsertRequest` model for its request body.\r\n\r\n* fix(improver): update error message for OpenAI result\r\n\r\nThis commit updates the error message in the `improve_prompt`\r\nfunction when the result from OpenAI does not contain a 'usage'\r\nattribute. The previous message was unclear and did not\r\naccurately describe the issue. The new message provides more\r\nspecific information about the error, which will help in\r\ndebugging and troubleshooting.\r\n\r\n* add handling of insufficient funds\r\n\r\n* add gpt-4 (also added azure keys in oai config list) (#256)\r\n\r\n* make a single field nullable (#257)\r\n\r\n* fix: mostly typos, but also add support for daisyui (#258)\r\n\r\n* feat: update api types\r\n\r\n* fix: update published description for agent create form\r\n\r\n* fix: update published description for agent editor\r\n\r\n* fix: stop redirect to agent editor after creating agent\r\n\r\n* feat: daisyui\r\n\r\n* fix: zod conform to openapi types\r\n\r\n* fix: typo in prompt editor\r\n\r\n* fix: error grammar in prompt editor\r\n\r\n* feat: auto-save (#260)\r\n\r\n* feat(rest): change llm models to use azure openai keys (#259)\r\n\r\n* feat: change to azure llms and add uvicorn runner\r\n\r\nThis commit updates the import paths in `__init__.py` to be absolute\r\ninstead of relative. It also adds a uvicorn runner at the end of the\r\nfile to allow for direct execution. Additionally, the `comment_bot.py`\r\nfile has been updated to use `AzureChatOpenAI` instead of `ChatOpenAI`.\r\n\r\n* refactor: Replace ChatOpenAI with AzureChatOpenAI\r\n\r\nThis commit replaces the usage of `ChatOpenAI` with `AzureChatOpenAI` in\r\n`relevance_bot.py`. The change is made in the `create_chain`,\r\n`summarize_submission`, and `filter_with_questions` functions. This\r\nrefactor is part of an effort to transition from OpenAI to Azure for\r\nlanguage model processing.\r\n\r\n* fix: Correct Azure model names in relevance_bot.py\r\n\r\nThis commit corrects the Azure model names used in `relevance_bot.py`.\r\nThe model name in the `create_chain` function's docstring and the\r\n`calculate_relevance` function call has been changed from\r\n\"gpt-4-turbo-preview\" to \"gpt-4-turbo\". The model names in the\r\n`summarize_submission` and `filter_with_questions` functions have been\r\nchanged from \"gpt-4-turbo\" to \"gpt-35-turbo\".\r\n\r\n* fix: Remove testing things and remove import\r\n\r\n* fix: Remove imports 2: electric boogaloo\r\n\r\n* fix: Accidentally removed a dot in an import\r\n\r\n* fix: remove error toast on agent deletion (#261)\r\n\r\nThe error toast that was previously shown when an agent was deleted\r\nhas been removed. This change simplifies the user experience by not\r\ndisplaying an error message for a successful operation.\r\n\r\n* fix(agent-model): rename 'gpt-3.5-turbo' to 'gpt-35-turbo' (#262)\r\n\r\nThis commit changes the naming convention of the 'gpt-3.5-turbo' model\r\nto 'gpt-35-turbo'. This change has been reflected in the schema,\r\ncreation form, agent page, agent items, and agent library.\r\n\r\n* feat(library-create-button): add ScrollArea to Dialog.Content (#263)\r\n\r\nThis commit wraps the slot inside the Dialog.Content with a ScrollArea\r\ncomponent. This change provides a scrollable area within the dialog,\r\nimproving the user experience when the dialog content is larger than\r\nthe viewport.\r\n\r\n---------\r\n\r\nSigned-off-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: Jonas Lindberg \r\nCo-authored-by: Leon Nilsson <70595163+failandimprove1@users.noreply.github.com>\r\nCo-authored-by: Daniel Aanensen <60237496+LVGrinder@users.noreply.github.com>\r\nCo-authored-by: Leon Lam Nilsson \r\nCo-authored-by: Jonas Lindberg \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\nCo-authored-by: Daniel Aanensen ","shortMessageHtmlLink":"Finetuning rest (#264)"}},{"before":"e52201d6d0b67e3299f4f4b83e4ae343802345f0","after":"feaf7fbb6a34abdd746ec8ae0638c3726860aa50","ref":"refs/heads/feature/finetuning-rest","pushedAt":"2024-05-16T12:52:53.000Z","pushType":"push","commitsCount":69,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"Merge branch 'alpha' into feature/finetuning-rest","shortMessageHtmlLink":"Merge branch 'alpha' into feature/finetuning-rest"}},{"before":"f66880fb2c8c0e5a2628578334bae94ffea9e38a","after":"e52201d6d0b67e3299f4f4b83e4ae343802345f0","ref":"refs/heads/feature/finetuning-rest","pushedAt":"2024-05-15T10:28:41.000Z","pushType":"push","commitsCount":68,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)\n\nThis commit wraps the slot inside the Dialog.Content with a ScrollArea\r\ncomponent. This change provides a scrollable area within the dialog,\r\nimproving the user experience when the dialog content is larger than\r\nthe viewport.","shortMessageHtmlLink":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)"}},{"before":"ff36f7934c45abde1c5abdddf666e5855468cb4c","after":"f66880fb2c8c0e5a2628578334bae94ffea9e38a","ref":"refs/heads/feature/finetuning-rest","pushedAt":"2024-05-15T10:27:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antopiahk","name":"Jorge Lewis","path":"/antopiahk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31695089?s=80&v=4"},"commit":{"message":"adding option for adding instructions to generate comment and improving promptws","shortMessageHtmlLink":"adding option for adding instructions to generate comment and improvi…"}},{"before":"242daaf55aa4a594867f0e7bdcfead56c8987064","after":"5d9d696f9e81b76e8d69788b194c92a77cbe21e9","ref":"refs/heads/feature/migrate-monorepo","pushedAt":"2024-05-15T04:30:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(anzelmo): match file-structure","shortMessageHtmlLink":"feat(anzelmo): match file-structure"}},{"before":"029e0165281de251b8e4e0cef0417d6adc61d516","after":"242daaf55aa4a594867f0e7bdcfead56c8987064","ref":"refs/heads/feature/migrate-monorepo","pushedAt":"2024-05-15T04:23:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat: migrate anzelmo","shortMessageHtmlLink":"feat: migrate anzelmo"}},{"before":"16b4bf92e94c94908bd7a11eedd1334581288041","after":"029e0165281de251b8e4e0cef0417d6adc61d516","ref":"refs/heads/feature/migrate-monorepo","pushedAt":"2024-05-15T04:05:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat: migrate aitino into aitino/ folder","shortMessageHtmlLink":"feat: migrate aitino into aitino/ folder"}},{"before":null,"after":"16b4bf92e94c94908bd7a11eedd1334581288041","ref":"refs/heads/feature/migrate-monorepo","pushedAt":"2024-05-15T03:59:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)\n\nThis commit wraps the slot inside the Dialog.Content with a ScrollArea\r\ncomponent. This change provides a scrollable area within the dialog,\r\nimproving the user experience when the dialog content is larger than\r\nthe viewport.","shortMessageHtmlLink":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)"}},{"before":"c2a57a6ea274805416f9433d774b10b55c46005d","after":"32ce2fa86d234edb5bcde53ba50749044ff39755","ref":"refs/heads/feature/overhauled-state-management","pushedAt":"2024-05-09T16:32:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(stateManagement): almost finished but paused","shortMessageHtmlLink":"feat(stateManagement): almost finished but paused"}},{"before":"ea862311f495e4a42c7e79c53a411959ee705091","after":"c2a57a6ea274805416f9433d774b10b55c46005d","ref":"refs/heads/feature/overhauled-state-management","pushedAt":"2024-05-09T12:13:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(stateManagement): work on overhaul","shortMessageHtmlLink":"feat(stateManagement): work on overhaul"}},{"before":null,"after":"ea862311f495e4a42c7e79c53a411959ee705091","ref":"refs/heads/feature/overhauled-state-management","pushedAt":"2024-05-09T11:53:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(stateManagement): overhaul","shortMessageHtmlLink":"feat(stateManagement): overhaul"}},{"before":"c98afea2210e5689476c0425099dcf8ebc13aec1","after":null,"ref":"refs/heads/feature/library-create-form-scrollbar","pushedAt":"2024-05-09T07:55:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"}},{"before":"3bf64a2d937871c2c1ed25ee184bd2c57e9470bb","after":"16b4bf92e94c94908bd7a11eedd1334581288041","ref":"refs/heads/alpha","pushedAt":"2024-05-09T07:55:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)\n\nThis commit wraps the slot inside the Dialog.Content with a ScrollArea\r\ncomponent. This change provides a scrollable area within the dialog,\r\nimproving the user experience when the dialog content is larger than\r\nthe viewport.","shortMessageHtmlLink":"feat(library-create-button): add ScrollArea to Dialog.Content (#263)"}},{"before":null,"after":"c98afea2210e5689476c0425099dcf8ebc13aec1","ref":"refs/heads/feature/library-create-form-scrollbar","pushedAt":"2024-05-09T07:39:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(library-create-button): add ScrollArea to Dialog.Content\n\nThis commit wraps the slot inside the Dialog.Content with a ScrollArea\ncomponent. This change provides a scrollable area within the dialog,\nimproving the user experience when the dialog content is larger than\nthe viewport.","shortMessageHtmlLink":"feat(library-create-button): add ScrollArea to Dialog.Content"}},{"before":"decadf9740f946b403b010ae0947efcbf9fc9da7","after":null,"ref":"refs/heads/hotfix/error-when-agent-with-gpt-35-turbo-exists","pushedAt":"2024-05-09T04:45:43.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"}},{"before":"6f8cc964aad67f47441635400f12a77c49ecaab8","after":"3bf64a2d937871c2c1ed25ee184bd2c57e9470bb","ref":"refs/heads/alpha","pushedAt":"2024-05-09T04:45:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"fix(agent-model): rename 'gpt-3.5-turbo' to 'gpt-35-turbo' (#262)\n\nThis commit changes the naming convention of the 'gpt-3.5-turbo' model\r\nto 'gpt-35-turbo'. This change has been reflected in the schema,\r\ncreation form, agent page, agent items, and agent library.","shortMessageHtmlLink":"fix(agent-model): rename 'gpt-3.5-turbo' to 'gpt-35-turbo' (#262)"}},{"before":"6f8cc964aad67f47441635400f12a77c49ecaab8","after":"decadf9740f946b403b010ae0947efcbf9fc9da7","ref":"refs/heads/hotfix/error-when-agent-with-gpt-35-turbo-exists","pushedAt":"2024-05-09T04:43:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"fix(agent-model): rename 'gpt-3.5-turbo' to 'gpt-35-turbo'\n\nThis commit changes the naming convention of the 'gpt-3.5-turbo' model\nto 'gpt-35-turbo'. This change has been reflected in the schema,\ncreation form, agent page, agent items, and agent library.","shortMessageHtmlLink":"fix(agent-model): rename 'gpt-3.5-turbo' to 'gpt-35-turbo'"}},{"before":null,"after":"6f8cc964aad67f47441635400f12a77c49ecaab8","ref":"refs/heads/hotfix/error-when-agent-with-gpt-35-turbo-exists","pushedAt":"2024-05-09T04:41:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"fix: remove error toast on agent deletion (#261)\n\nThe error toast that was previously shown when an agent was deleted\r\nhas been removed. This change simplifies the user experience by not\r\ndisplaying an error message for a successful operation.","shortMessageHtmlLink":"fix: remove error toast on agent deletion (#261)"}},{"before":"b9cf9eb4027e32f0a2eb9f5a3df508f099888cfa","after":null,"ref":"refs/heads/hotfix/agent-deletion-causes-error-toast","pushedAt":"2024-05-09T04:09:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"}},{"before":"927c96ee28755fbd259d45539716a92b6b083593","after":"6f8cc964aad67f47441635400f12a77c49ecaab8","ref":"refs/heads/alpha","pushedAt":"2024-05-09T04:09:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"fix: remove error toast on agent deletion (#261)\n\nThe error toast that was previously shown when an agent was deleted\r\nhas been removed. This change simplifies the user experience by not\r\ndisplaying an error message for a successful operation.","shortMessageHtmlLink":"fix: remove error toast on agent deletion (#261)"}},{"before":null,"after":"b9cf9eb4027e32f0a2eb9f5a3df508f099888cfa","ref":"refs/heads/hotfix/agent-deletion-causes-error-toast","pushedAt":"2024-05-09T04:07:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"fix: remove error toast on agent deletion\n\nThe error toast that was previously shown when an agent was deleted\nhas been removed. This change simplifies the user experience by not\ndisplaying an error message for a successful operation.","shortMessageHtmlLink":"fix: remove error toast on agent deletion"}},{"before":"00a89c1789d691c3033d50aa92befcb16884aac7","after":null,"ref":"refs/heads/feature/rest-azure-keys","pushedAt":"2024-05-09T04:05:14.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"}},{"before":"43b781adba470a8574c423f1e23721400142cc85","after":"927c96ee28755fbd259d45539716a92b6b083593","ref":"refs/heads/alpha","pushedAt":"2024-05-09T04:05:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat(rest): change llm models to use azure openai keys (#259)\n\n* feat: change to azure llms and add uvicorn runner\r\n\r\nThis commit updates the import paths in `__init__.py` to be absolute\r\ninstead of relative. It also adds a uvicorn runner at the end of the\r\nfile to allow for direct execution. Additionally, the `comment_bot.py`\r\nfile has been updated to use `AzureChatOpenAI` instead of `ChatOpenAI`.\r\n\r\n* refactor: Replace ChatOpenAI with AzureChatOpenAI\r\n\r\nThis commit replaces the usage of `ChatOpenAI` with `AzureChatOpenAI` in\r\n`relevance_bot.py`. The change is made in the `create_chain`,\r\n`summarize_submission`, and `filter_with_questions` functions. This\r\nrefactor is part of an effort to transition from OpenAI to Azure for\r\nlanguage model processing.\r\n\r\n* fix: Correct Azure model names in relevance_bot.py\r\n\r\nThis commit corrects the Azure model names used in `relevance_bot.py`.\r\nThe model name in the `create_chain` function's docstring and the\r\n`calculate_relevance` function call has been changed from\r\n\"gpt-4-turbo-preview\" to \"gpt-4-turbo\". The model names in the\r\n`summarize_submission` and `filter_with_questions` functions have been\r\nchanged from \"gpt-4-turbo\" to \"gpt-35-turbo\".\r\n\r\n* fix: Remove testing things and remove import\r\n\r\n* fix: Remove imports 2: electric boogaloo\r\n\r\n* fix: Accidentally removed a dot in an import","shortMessageHtmlLink":"feat(rest): change llm models to use azure openai keys (#259)"}},{"before":"8ca51a08e83cbb48e989c949f864db78ab0126fc","after":null,"ref":"refs/heads/feature/auto-save","pushedAt":"2024-05-09T04:04:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"}},{"before":"c3ec08fe5610bfac6d4f114f47dededd934a3c7e","after":"43b781adba470a8574c423f1e23721400142cc85","ref":"refs/heads/alpha","pushedAt":"2024-05-09T04:04:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat: auto-save (#260)","shortMessageHtmlLink":"feat: auto-save (#260)"}},{"before":"c3ec08fe5610bfac6d4f114f47dededd934a3c7e","after":"8ca51a08e83cbb48e989c949f864db78ab0126fc","ref":"refs/heads/feature/auto-save","pushedAt":"2024-05-09T04:03:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eksno","name":"Jonas Lindberg","path":"/eksno","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33558637?s=80&v=4"},"commit":{"message":"feat: auto-save","shortMessageHtmlLink":"feat: auto-save"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEWtaU1QA","startCursor":null,"endCursor":null}},"title":"Activity · Futino/aitino"}