mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-06 03:02:09 +00:00
Merge pull request #962 from langchain-ai/yogesh/applied-ai-mapping
fix: applied ai mapping to ai-sdr repo
This commit is contained in:
commit
a11042d956
1 changed files with 5 additions and 2 deletions
|
|
@ -88,7 +88,8 @@ LINEAR_TEAM_TO_REPO: dict[str, dict[str, Any] | dict[str, str]] = {
|
||||||
"Applied AI": {
|
"Applied AI": {
|
||||||
"projects": {
|
"projects": {
|
||||||
"GTM Engineering": {"owner": "langchain-ai", "name": "ai-sdr"},
|
"GTM Engineering": {"owner": "langchain-ai", "name": "ai-sdr"},
|
||||||
}
|
},
|
||||||
|
"default": {"owner": "langchain-ai", "name": "ai-sdr"},
|
||||||
},
|
},
|
||||||
"Docs": {
|
"Docs": {
|
||||||
"default": {"owner": "langchain-ai", "name": "docs"}
|
"default": {"owner": "langchain-ai", "name": "docs"}
|
||||||
|
|
@ -120,7 +121,9 @@ def get_repo_config_from_team_mapping(
|
||||||
return config
|
return config
|
||||||
|
|
||||||
if "projects" in config and project_name:
|
if "projects" in config and project_name:
|
||||||
return config["projects"].get(project_name)
|
project_config = config["projects"].get(project_name)
|
||||||
|
if project_config:
|
||||||
|
return project_config
|
||||||
|
|
||||||
if "default" in config:
|
if "default" in config:
|
||||||
return config["default"]
|
return config["default"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue